﻿.vk-featuredWrap {
  position: relative;
  padding: 0 5px 10px;
  .vk-bidHeading {
    font-family: $diodrumSemiBold;
    @include xs {
      background: -moz-linear-gradient(top, rgba(0, 99, 192, 0.65) 0%, rgba(0, 99, 192, 0.65) 100%); /* FF3.6-15 */
      background: -webkit-linear-gradient(top, rgba(0, 99, 192, 0.65) 0%, rgba(0, 99, 192, 0.65) 100%); /* Chrome10-25,Safari5.1-6 */
      background: linear-gradient(to bottom, rgba(0, 99, 192, 0.65) 0%, rgba(0, 99, 192, 0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a60063c0', endColorstr='#a60063c0', GradientType=0); /* IE6-9 */
      position: absolute;
      left: 0;
      top: 0;
      text-align: center;
      margin: 0;
      z-index: 1;
      width: 100%;
      padding: 0;
      color: $white;
      height: 88px;
      padding-top: 18px;
    }
  }
  @include xs {
    padding: 0;
    margin-bottom: 4px;
  }
  .vk-gmIcon {
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 15px;
    top: 20px; 
    display: none;
    &.vk-bookmarkIcon {
      background-image: url("../images/featured-book.png");
      display: block;
      width: 42px;
      height: 40px;
      @include md-altl{
        width: 36px;
        height: 34px;
      }
      @include md-altm{
        width: 30px;
        height: 28px;
      }
      @include md-alts{
        width: 24px;
        height: 22px;
      }
    }
    &.vk-videoIcon {
      background-image: url("../images/featured-play.png");
      display: block;
      width: 52px;
      height: 52px;
      @include md-altl{
        width: 42px;
        height: 40px;
      }
      @include md-altm{
        width: 42px;
        height: 40px;
      }
      @include md-alts{
        width: 32px;
        height: 32px;
      }
    }
  }
}

.vk-columnsGrid {
  &#vk-masonryGrid {
    height: auto;
  }
  @include xs {
    height: 461px !important;
    overflow: hidden;
  }
  position: relative;
  overflow: hidden;
  .vk-sinGrid {
    float: left;
    position: relative;
    margin: 0;
    overflow: hidden;
    width: 16.66%;
    @include xs {
      height: 461px !important;
    }
    .vk-itemBg {
      background-size: cover;
      background-position: center;
      height: 100%;
      padding: 0;
      overflow: hidden;
      margin: 10px 5px;
      @include xs {
        padding: 0;
      }
      position: relative;
      img {
        height: 100%;
        width: 100%;
      }
    }
    .vk-bgOverlay {
      height: calc(100% - 10px);
      width: calc(100% - 10px);
      margin: 5px;
      opacity: 0;
      top: 5px;
      @include xs {
        height: 100%;
        width: 100%;
        margin: 0;
        opacity: 1;
      }
    }
    .vk-goIcon {
      background-size: 100px;
      //background-size: 4rem;
      background-position: center;
      height: 100%;
      top: 0;
      //bottom: 0;
      width: 100%;
      opacity: 0;
      @include transition;
      @include xs {
        background-size: 4rem;
        background-position: center 360px;
        height: 100%;
        top: 0;
        opacity: .8;
        background-image:url(../images/gi-icon-opaque.png);
      }
    }
    .vk-itemDetail {
      color: $white;
      padding: 78px 32px 50px 48px;
      height: 100%;
      @include xs {
        //padding: 110px 70px 50px 80px !important;
        padding: 12rem 4rem 0 !important;
      }
      @include xxs {
        //padding-top: 90px !important;
        //display:table;
      }
      @include md-altl{
        padding: 47px 20px 0;
      }
      @include md-altm{
        padding: 42px 20px 0;
      }
      @include md-alts{
        padding: 35px 20px 0;
      }
      label {
        content: "";
        font-family: $gothamBold;
        //font-size: $font32 + 6;
        font-size: 2.25rem;
        line-height: 2.25rem;
        font-weight: $fontBold;
        //white-space: nowrap;
        //text-overflow: ellipsis;
        //display: -webkit-box;
        //-webkit-line-clamp: 2;
        //-moz-line-clamp: 2;
        //-webkit-box-orient: vertical;
        overflow: hidden;
        @include md {
          //font-size: $font23;
        }
        @include xs {
          //font-size: $font28 !important;
          //line-height: normal !important;
          text-align:center;
        }
        @include md-altl{
          //font-size: $font32;
          //line-height: 32px;
        }
        @include md-altm{
          //font-size: $font28 - 2;
        }
        @include md-alts{
          //font-size: $font23 - 1;
        }

        @include xxs {
          line-height:120%;

          
          &.visible-mobile {
            display:table-cell !important;
            line-height:120% !important;
            vertical-align:middle;
          }
        }

      }
      p {
        font-size: $font28 + 2;
        max-height: 100%;
        overflow: hidden;
        word-wrap: break-word;
        white-space: normal;
        //height: calc(100% - 46px);
        @include md {
          font-size: $font23 - 3;
        }
        @include xs {
          font-size: $font23 + 1;
        }
        @include xxs {
          font-size: $font18 + 2;
          line-height: 23px;
        }
        @include md-altl{
          font-size: 25px;
          height: 90px;
          line-height: 30px;
        }
        @include md-altm{
          font-size: 20px;
          height: 66px;
          line-height: 22px;
        }
        @include md-alts{
          font-size: 17px;
          height: 60px;
          line-height: 20px;
        }
      }
    }
    &:hover {
      @include transition;
      .vk-goIcon {
        opacity: 1;
      }
      .vk-bgOverlay {
        opacity: $overlayOpacity;
      }
    }
    &.vk-sinGrid--height1,
    &.vk-sinGrid--width1 {
      .vk-goIcon {
        background-size: 50px;
        @include xs {
          //background-size: 100px;
          background-size: 4rem;
        }

        @include xxs {
          //background-position:center 95%;
          //background-size:80px;
        }
      }
    }
    //.vk-sinGrid--height1.vk-sinGrid--width2{
    //  @include md-altl{
    //    padding: 32px 20px 0;
    //  }
    //  @include md-altm{
    //    padding: 28px 20px 0;
    //  }
    //  @include md-alts{
    //    padding: 25px 20px 0;
    //  }
    //}
    &.vk-sinGrid--height2{
      @include md-altl {
        p {
          height: 300px;
        }
      }
      @include md-altm{
        p {
          height: 220px;
        }
      }
      @include md-alts{
        p {
          height: 200px;
        }
      }
    }
  }
  .vk-sinGrid--width2 {
    width: 33.32%;
  }
  &:after {
    content: '';
    display: block;
    clear: both;
  }
  .slick-arrow {
    background-color: transparent;
    background-image: url("../images/fM-arrows.png");
    background-repeat: no-repeat;
    border: 0;
    display: block;
    font-size: 0;
    height: 100px;
    width: 62px;
    position: absolute;
    top: 200px;
    z-index: 1;
    &.slick-next {
      background-position: right center;
      right: 5px;
    }
    &.slick-prev {
      background-position: left center;
      right: auto;
      left: 5px;
    }
  }
}

.vk-bgOverlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  margin: 0;
  width: 100%;
  opacity: $overlayOpacity;
  @include transition;
  &.vk-lightGreenSec {
    background-color: $celery;
  }
  &.vk-purpleSec {
    background-color: $rouge;
  }
  &.vk-orangeSec {
    background-color: $seaBuckthorn;
  }
  &.vk-blueSec {
    background-color: $scienceBlue;
  }
  &.vk-redSec {
    background-color: $crimson;
  }
  &.vk-skyBlueSec {
    background-color: $cerulean;
  }
  &.vk-darkGreenSec {
    background-color: $greenHaze;
  }
}

/* Media Page - Start */
.vk-bannerWrap {
//  background-repeat: no-repeat;
//  background-size: cover;
//  background-position: center;
//  height: 666px;
  position: relative;
//  overflow: hidden;
  @include xs {
    height: auto;
  }
  .img-responsive {
    @include xs {
      display: none;
    }
    width: 100%;
  }
  .vk-bannerDetail {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0063c0+0,0063c0+100&0.9+0,0.9+100 */
    background: -moz-linear-gradient(top, rgba(0, 99, 192, 0.9) 0%, rgba(0, 99, 192, 0.9) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 99, 192, 0.9) 0%, rgba(0, 99, 192, 0.9) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 99, 192, 0.9) 0%, rgba(0, 99, 192, 0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e60063c0', endColorstr='#e60063c0', GradientType=0); /* IE6-9 */
    color: $white;
    position: absolute;
    max-height: 393px;
    padding: 52px 20px 62px 57px;
    width: 744px;
    top: 50%;
    transform: translate(0, -50%);
    .vk-bidHeading {
      @include md-l {
        font-size: $font51;
      }
      @include md-m {
        font-size: $font43 + 5;
      }
      @include md-s {
        font-size: $font43 - 1;
      }
    }
    @include md-l {
      padding: 42px 10px 52px 47px;
      width: 40%;
    }
    @include md-m {
      padding: 20px 30px;
      width: 40%;
    }
    @include md-s {
      padding: 20px 30px;
      width: 40%;
    }
    @include xs {
      background: $white;
      color: $scienceBlue;
      position: static;
      padding: 42px 40px;
      height: 100%;
      width: 100%;
      transform: translate(0, 0);
    }
    @include xxs {
      padding: 20px;
    }
    &.vk-bannerLeftSide {
      left: 64px;
    }
    &.vk-bannerRightSide {
      right: 64px;
    }
    p {
      /*
      font-size: $font32;
      line-height: 30px;
      */
      font-size: 30px;
      line-height: 42px;
      @include md-l {
        font-size: $font28;
        line-height: 28px;
      }
      @include md-m {
        font-size: $font23 + 1;
        line-height: 28px;
      }
      @include md-s {
        font-size: $font18;
        line-height: 20px;
      }
      @include xs {
        font-size: $font28;
      }
      @include xxs {
        font-size: $font23 - 1;
        line-height: 28px;
      }
    }
  }
}

.vk-mediaWrapper {
  margin: 0 0 53px;
  @include xs {
    margin: 0;
  }
  .vk-mediaListWrap {
    .vk-mediaHead {
      border-bottom: 1px solid $silverChalice;
      margin: 73px 66px 53px;
      @include xs {
        background: $scienceBlue;
        border-top: 2px solid $white;
        border-bottom: 2px solid $white;
        margin: 0;
        text-align: center;
        height: 85px;
        padding: 15px 0 0;
      }
      @include xxs {
        height: 50px;
        padding: 9px 0 0;
      }
      label {
        color: $mineShaft;
        font-size: $font43 + 2;
        @include xs {
          color: $white;
          font-size: $font38;
          font-family: $gothamBold;
          text-transform: uppercase;
        }
        @include xxs {
          font-size: $font18 + 2;
        }
      }
    }
    .vk-mediaList {
      overflow: hidden;
      ul {
        li {
          &.vk-mediaItem {
            a {
              color: $mineShaft;
              .vk-mediaImg {
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                margin: 0 0 20px;
                position: relative;
                height: 220px;
                @include smPlanLess {
                  height: 170px;
                }
                @include xs {
                  height: 380px;
                }

                @include xxs {
                  height:0;
                  background-size:100%;
                  padding-top:56%;
                }

                img {
                  height: 100%;
                  width: 100%;
                }
                .vk-mediaPlayIcon {
                  background-image: url("../images/gi-icon.png");
                  background-repeat: no-repeat;
                  background-position: center;
                  background-size: 70px;
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 100%;
                  height: 100%;
                  opacity: 0.4;
                  @include transition();
                  &:hover {
                    opacity: 1;
                    @include transition();
                  }

                  @include xxs {
                    opacity:.8;
                    background-image:url(../images/gi-icon-opaque.png);
                  }
                }
              }
              .vk-mediaDetails {
                font-size: $font23;
                font-weight: bold;
                margin: 10px 0 0;
                @include xs {
                  margin: 10px 40px 20px;
                }
                @include xxs {
                  margin: 10px 20px;
                }
                label {
                  font-family: $gothamBold;
                  @include smPlanLess {
                    font-size: $font18 + 2;
                  }
                }
                p {
                  font-family: $gothamLight;
                  line-height: 30px;
                  @include smPlanLess {
                    font-size: $font18 - 2;
                    line-height: 22px;
                  }
                }
              }
              &:hover {
                text-decoration: none;
              }
            }
            @include xs {
              margin: 0 !important;
            }
          }
        }
      }
      .slick-arrow {
        background-repeat: no-repeat;
        background-position: center 23%;
        background-size: 100% auto;
        background-color: $white;
        border: 0 !important;
        box-shadow: none !important;
        position: absolute;
        font-size: 0;
        top: 0;
        height: 100%;
        width: 75px;
        z-index: 1;
        opacity: 0;
        @include transition();
        @include xs {
          background-color: transparent;
          background-position: center;
          opacity: 1;
          height: 0;
          width: 48px !important;
          padding-top: 56.14%; 
        }
        @include xxs {
          width: 22px !important;
          background-size: 20px;
        }
      }
      .slick-prev {
        background-image: url("../images/media-arrow-left.png");
        @include xs {
          background-image: url("../images/media-arrow-left-mob.png");
          margin: 0 0 0 10px;
        }
      }
      .slick-next {
        background-image: url("../images/media-arrow-right.png");
        right: 0;
        @include xs {
          background-image: url("../images/media-arrow-right-mob.png");
          margin: 0 10px 0 0;
        }
      }
      .mediaSlider {
        &.disabled {
          .slick-track {
            @include xsPlus {
              transform: initial !important;
            }
          }
        }
        &:hover {
          .slick-arrow {
            opacity: 0.7;
            @include transition();
          }
        }
      }
      &.vk-videoList {
        .vk-mediaItem {
          .vk-mediaImg {
            margin: 0;
          }
        }
      }
    }
  }
}

/* Media Page - End */

/* Media Slides - Start */

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0 90px !important;
  @include xs {
    padding: 0 !important;
  }
  &:focus {
    outline: none;
  }
  &.dragging {
    cursor: pointer;
  }
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;

  &:before,
  &:after {
    content: "";
    display: table;
  }

  &:after {
    clear: both;
  }

  .slick-loading & {
    visibility: hidden;
  }
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  margin: 0 18px;
  [dir="rtl"] & {
    float: right;
  }
  img {
    display: block;
  }
  &.slick-loading img {
    display: none;
  }

  display: none;

  &.dragging img {
    pointer-events: none;
  }

  .slick-initialized & {
    display: block;
  }

  .slick-loading & {
    visibility: hidden;
  }

  .slick-vertical & {
    display: block;
    height: auto;
    border: 1px solid transparent;
  }
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Media Slides - End */