/*  ----------------------------------------------------------------------------
    General
*/
.td-smart-disable {
  background-color: #a5a5a5 !important;
  cursor: default;
  opacity: 0.5;
}



/*  ----------------------------------------------------------------------------
    Smart list 1
*/
.td_smart_list_1 {
  position: relative;
  overflow: hidden;
  z-index: 1;

  .td-item {
    width: 100%;
    margin: 0;


    img {
      //width: 100%;
      height: auto;
    }
  }

  .td-sml1-current-item-nr {
    display: inline-block;
    font-weight: bold;
    font-size: 21px;
    line-height: 24px;
    color: #ffffff;
    padding: 6px 4px 6px 4px;
    background-color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 37px;
    height: 37px;
    text-align: center;
    margin-right: 15px;
    margin-bottom: 20px;
    vertical-align: top;

    @media (max-width: @responsive_p_phone_max) {
      margin-bottom: 10px;
      margin-right: auto;
      margin-left: auto;
      display: table;
    }
  }

  .td-sml1-current-item-title {
    display: inline-block;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 10px;
    width: 490px;
    margin-top: 8px;
    position: relative;
    top: -3px;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      font-size: 16px;
      max-width: 320px;
    }

    @media (max-width: @responsive_p_phone_max) {
      display: block;
      width: 100%;
      font-size: 16px;
      text-align: center;
    }
  }

  .td-number-and-title {
    @media (max-width: @responsive_p_phone_max) {
      margin-right: auto;
      margin-left: auto;
      display: table;
    }

    h2 {
      display: inline-block;
      margin: 0;
    }
  }

  .td-controls {
    position: absolute;
    right: 0;
    top: 0;
    width: 88px;
    z-index: 9;
    background-color: #ffffff;

    .td-icon-left, .td-icon-right {
      border: 1px solid #e6e6e6;
      display: inline-block;
      width: 37px;
      height: 37px;
      text-align: center;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      font-size: 24px;
      padding: 7px 13px 7px 13px;
      background-color: #ffffff;
      position: relative;
      right: -3px;
      line-height: 1;
    }

    .td-icon-left{
      margin-right: 10px;
    }
  }

  .td-sml1-description {
    p {

      margin-top: 13px;
    }
  }

  .td-sml1-caption {
    text-align: right;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
  }

  &.td-3-columns {
    .td-sml1-current-item-title {
      max-width: 100%;
      width: 820px;

      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        max-width: 570px;
      }

      /* responsive portrait phone */
      @media (max-width: @responsive_p_phone_max) {
        max-width: 100%;
        width: 100%;
      }
    }
  }
}

.td-slide-smart-list-1 img {
  width: 100%;
}


/*  ----------------------------------------------------------------------------
    Smart list 2
*/


.td_smart_list_2 {

  .td-sml2-current-item-nr {
    display: inline-block;
    font-weight: bold;
    font-size: 21px;
    line-height: 24px;
    color: #ffffff;
    padding: 6px 4px 6px 4px;
    background-color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 37px;
    height: 37px;
    text-align: center;
    margin-right: 15px;
    margin-bottom: 10px;
    vertical-align: top;

    @media (max-width: @responsive_p_phone_max) {
      margin-bottom: 10px;
      margin-right: auto;
      margin-left: auto;
      display: table;
    }
  }

  .td-sml2-current-item-title {
    display: inline-block;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    width: 580px;
    margin-bottom: 10px;
    margin-top: 8px;
    position: relative;
    top: -3px;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      max-width: 415px;
      margin-bottom: 0;
    }

    @media (max-width: @responsive_p_phone_max) {
      display: block;
      width: 100%;
      text-align: center;
      margin-bottom: 0;
    }
  }

  .td-number-and-title {
    @media (max-width: @responsive_p_phone_max) {
      margin-right: auto;
      margin-left: auto;
      display: table;
    }

    h2 {
      display: inline-block;
    }
  }

  .td-sml2-caption {
    text-align: right;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
  }

  .td-sml2-description {
    p {
      font-size: 12px;
      margin-top: 13px;
    }
  }

  &.td-3-columns {
    .td-sml2-current-item-title {
      width: 920px;

      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        max-width: 650px;
      }

      /* responsive portrait phone */
      @media (max-width: @responsive_p_phone_max) {
        max-width: 100%;
        width: 100%;
      }
    }
  }
}

.td-slide-smart-list-2 {
  display: block !important;

  img {
    width: 100%;
  }
}



/*  ----------------------------------------------------------------------------
    Smart list 3
*/

.td_smart_list_3 {
  position: relative;
  overflow: hidden;
  padding: 10px 0 12px 0;
  margin-bottom: 40px;
  z-index: 1;

  @media (max-width: @responsive_p_phone_max) {
    margin-bottom: 0;
  }

  .td-item {
    width: 100%;
    margin: 0;

    img {
      max-width: 100%;
      height: auto;
    }
  }

  .td-sml3-current-item-nr {
    display: inline-block;
    font-weight: bold;
    font-size: 21px;
    line-height: 24px;
    color: #ffffff;
    padding: 6px 4px 6px 4px;
    background-color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 37px;
    height: 37px;
    text-align: center;
    margin-right: 15px;
    margin-bottom: 10px;
    vertical-align: top;

    @media (max-width: @responsive_p_phone_max) {
      display: none;
    }
  }

  .td-sml3-current-item-title {
    display: inline-block;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    width: 265px;
    margin-bottom: 10px;
    margin-top: 4px;

    @media (max-width: @responsive_p_phone_max) {
      display: block;
      width: 100%;
    }
  }

  //used only when the title is bigger then 20 something chars
  .td-vertical-align-top {
    vertical-align: top;
  }

  .td-number-and-title {
    float: left;

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      float: none;
      text-align: center;
    }

    h2 {
      display: inline-block;
      margin: 0;
    }
  }

  .td-sml3-top-title {
    text-align: center;
    margin-top: 4px;
    margin-bottom: 30px;
    margin-right: 100px;
    margin-left: 100px;
    overflow: hidden;
    height: 22px;
    font-size: 11px;
    font-style: italic;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      margin-bottom: 17px;
    }

    @media (max-width: @responsive_p_phone_max) {
      display: none;
    }
  }

  .td-sml3-link-to-image img {
    margin-bottom: 6px;
  }

  .td-sml3-bottom-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 100px;
    margin-left: 100px;
    overflow: hidden;
    height: 22px;
    position: relative;
    top: 0;
    font-size: 11px;
    font-style: italic;

    @media (max-width: @responsive_p_phone_max) {
      display: none;
    }

  }

  .td-icon-left,
  .td-icon-right {
    display: inline-block;
    min-width: 67px;
    height: 28px;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 16px;
    padding: 7px 14px 7px 13px;
    color: #ffffff;
    background-color: #000000;
    line-height: 23px;

    &:hover {
      background-color: @td_theme_color;
    }
  }

  .td-sml3-top-controls,
  .td-sml3-bottom-controls {
    display: inline-block;
    padding: 8px 0;
    width: 100%;
    z-index: 9;
    border-top: 1px dashed @module-dashed-line;
    border-bottom: 1px dashed @module-dashed-line;

    @media (max-width: @responsive_p_phone_max) {
      border: 0;
    }

    .td-icon-left {
      position: relative;
      left: 0;
      padding: 2px 10px 2px 10px;

      span {
        float: right;
        position: relative;
        margin: 8px 2px 8px 12px;
      }
    }

    .td-icon-right {
      position: absolute;
      right: 0;
      padding: 2px 10px 2px 10px;

      span {
        float: left;
        position: relative;
        margin: 8px 12px 8px 2px;
      }

    }

    .td-sml3-control-text {
      position: relative;
      font-family: @font1;
      font-style: normal;
      text-transform: uppercase;
      font-size: 11px;
      font-weight: 600;
      line-height: 8px;
    }
  }

  .td-sml3-top-controls {
    position: absolute;
    top: 0;

    @media (max-width: @responsive_p_phone_max) {
      position: relative;
    }
  }

  .td-sml3-bottom-controls {
    position: absolute;
    bottom: 0;

    @media (max-width: @responsive_p_phone_max) {
      position: relative;
    }
  }

  .td-sml3-description {
    min-height: 390px;
    margin-bottom: 40px;

    @media (max-width: @responsive_p_phone_max) {
      display:table;
      margin-bottom: 0;
      width:100%;
    }
  }

  .td-sml3-display-image {
    position: relative;
    top: 0;
    width: 300px;
    float: right;
    margin: 0 0 20px 20px;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      margin: 0 0 17px 20px;
    }

    @media (max-width: @responsive_p_phone_max) {
      margin-left: auto;
      margin-right: auto;
      float: none;
      display: table;
    }
  }

  .td-sml3-caption {
    text-align: right;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
  }

  .td-mobile-nr {
    display: none;

    @media (max-width: @responsive_p_phone_max) {
      display: inline-block;
      padding: 6px 8px;
      color: #fff;
      background-color: #000;
      font-size: 12px;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
      line-height: 19px;
      position: relative;
      top: -3px;
      width: 30px;
      height: 30px;
      text-align: center;
      margin-right: 6px;
    }
  }

  //we are on 2 here
  &.td-2-columns {
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      .td-sml3-description {
        display:table;
        width:100%;

        /* responsive portrait tablet */
        @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
          margin-top: 27px;
        }
      }

      .td-number-and-title h2 {
        /* responsive portrait tablet */
        @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
          display: inherit;
        }
      }

      .td-sml3-caption {
        margin-top: 6px;
      }

      .td-sml3-display-image {
        margin-left: 0;
        margin-top: 0;
        float: right;
        width: 40%;

        /* responsive portrait tablet */
        @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
          margin-left: 10px;
        }

        img {
          margin: 0 auto;
        }
      }

      .td-sml3-top-title, .td-sml3-bottom-title {
        font-size: 9px;
      }

      .td-sml3-current-item-title {
        font-size: 18px;

        /* responsive portrait tablet */
        @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
          width: 217px;
        }
      }
    }
  }


  //we are on 3 here
  &.td-3-columns {
    .td-sml3-current-item-title {
      width: 607px;
    }

    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      .td-sml3-current-item-title {
        width: 348px;
      }
    }

    @media (max-width: @responsive_p_phone_max) {
      .td-sml3-current-item-title {
        width: 100%;
      }
    }

    .td-sml3-bottom-title {
      width: 780px;

      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        width: 521px;
      }
    }
  }
}




/*  ----------------------------------------------------------------------------
    Smart list 4
*/


.td_smart_list_4 {
  //background-color: #cccccc;//for debugging

  .td-item {
    vertical-align: top;
    border-bottom: 1px dashed @module-dashed-line;
    min-height: 174px; //184px;
    margin-bottom: 21px;

    @media (max-width: @responsive_p_phone_max) {
      display:table;
      width:100%;
    }

    div {
      @media (max-width: @responsive_p_phone_max) {
        display: table-header-group;
        text-align: center;
      }
    }
  }

  .td-number-and-title {
    h2 {
      margin-bottom: 0;
      margin-top: 2px;
    }
  }

  .td-sml4-nr {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    line-height: 18px;
    color: #ffffff;
    padding: 6px 4px 6px 4px;
    background-color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    text-align: center;
    margin-right: 15px;
    vertical-align: top;

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      margin: 0;
    }
  }

  .td-sml4-current-item-nr {
    display: inline-block;
    font-size: 17px;
    font-family: @font1;
    font-weight: 600;
    line-height: 24px;
    color: #000000;
    text-align: left;
    width: 420px;
    margin-top: 3px;
    vertical-align: top;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      width: 253px;
    }

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      width: 100%;
      text-align: center;
      margin: 10px 0 10px 0;
      padding-left: 10px;
      padding-right: 10px;
    }
  }


  .td-sml4-image-and-caption {
    float:right;
    margin-left: 20px;
    margin-bottom: 20px;

    @media (max-width: @responsive_p_phone_max) {
      margin-left: 0;
      margin-top: 0;
      width: 100%;
      margin-bottom: 0;

      img {
        margin: 0 auto;
      }

      .td-sml4-caption {
        float: right;

        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          float: none;
        }
      }
    }
  }

  .td-sml4-caption {
    text-align: right;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
    margin-top: 6px;

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      text-align: center;
      margin-right: auto;
      margin-left: auto;
      display: table;
      float: none;
    }
  }

  .td-sml4-description {
    p {
      font-size: 12px;
      margin-top: 13px;
      margin-bottom: 14px;
    }
  }

  &.td-2-columns {
    .td-sml4-current-item-nr {
      @media (max-width: @responsive_p_phone_max) {
        width: 100%;
      }
    }
  }

  &.td-3-columns {
    .td-sml4-current-item-nr {
      width: 760px;

      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        width: 500px;
      }

      @media (max-width: @responsive_p_phone_max) {
        width: 100%;
      }
    }
  }
}

.td-slide-smart-list-figure {
  display: inline-block;

  .td-sml4-link-to-image img {
    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      width: auto;
    }
  }

  figcaption {
    margin-top: 6px;
  }
}

.td-number-and-title h2 {
  margin-top: 0;
}

.td_smart_list_2 {
  .td-item {
    margin-bottom: 40px;
  }
}


/*  ----------------------------------------------------------------------------
    Smart list 5
*/
.td_smart_list_5 {

  .td-item {
    margin-bottom: 32px;

    &:last-child {
     margin-bottom: 0;
    }
  }

  .td-slide-smart-list-figure {
    position: relative;
  }

  .td-sml-current-item-nr {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    font-weight: bold;
    font-size: 21px;
    line-height: 24px;
    color: #ffffff;
    padding: 6px 4px 6px 4px;
    background-color: #000000;
    width: 37px;
    height: 37px;
    text-align: center;
    margin-right: 15px;
    margin-bottom: 20px;
    vertical-align: top;
  }

  .td-sml-current-item-title {
    display: inline-block;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-top: 20px !important;
    margin-bottom: 10px !important;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      margin-top: 15px !important;
    }
  }

  .td-sml-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    color: #fff;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    padding-right: 10px;
    padding-bottom: 10px;
    z-index: 1;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      font-size: 10px;
      line-height: 15px;
    }
  }

  .td-sml-description {
    p {
      font-size: 12px;
      margin-top: 0;
    }
  }

  .td-slide-smart-list-figure {
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  figcaption div:before {
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    height: 150%;
    width: 100%;
    position: absolute;
    z-index: -1;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.9))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#b3000000',GradientType=0 ); /* IE6-9 */
  }

  figcaption div:empty {
    display: none;
  }
}


/*  ----------------------------------------------------------------------------
    Smart list 6
*/
.td_smart_list_6 {
  position: relative;
  z-index: 1;
  clear: both;
  margin-bottom: 40px;

  .td-number-and-title {
    text-align: left;
    padding: 0;
    margin-bottom: 11px;
    position: relative;

    h2 {
      margin: 0;
    }

    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      margin-bottom: 20px;
    }

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      margin-top: 10px;
      margin-bottom: 10px;
    }
  }

  .td-sml-current-item-nr {
    display: inline-block;
    font-weight: 600;
    font-size: 21px;
    line-height: 24px;
    color: #fff;
    padding: 6px 4px;
    background-color: #000;
    border-radius: 3px;
    width: 37px;
    height: 37px;
    text-align: center;
    margin-right: 15px;
    vertical-align: top;

    @media (max-width: @responsive_p_phone_max) {
      margin-right: auto;
      margin-left: auto;
      margin-bottom: 10px;
      display: table;
    }
  }

  .td-sml-current-item-title {
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #000;
    width: 580px;
    margin-bottom: 10px;
    margin-top: 8px;
    position: relative;
    top: -3px;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      max-width: 415px;
      margin-bottom: 0;
    }

    @media (max-width: @responsive_p_phone_max) {
      display: block;
      width: 100%;
      text-align: center;
      margin-bottom: 0;
    }
  }

  .td-sml-description {
    p {
      font-size: 12px;
      margin-top: 13px;
    }
  }

  .td-slide-smart-list-figure {
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  .td-sml-caption {
    text-align: right;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
  }

  .td-smart-list-pagination {
    text-align: center;

    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      margin-bottom: 15px;
    }

    @media (max-width: @responsive_p_phone_max) {
      margin-bottom: 18px;
    }
  }

  .td-smart-list-button {
    display: inline-block;
    min-width: 67px;
    text-align: center;
    border-radius: 3px;
    font-family: @font1;
    font-style: normal;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    line-height: 12px;
    padding: 9px 14px;
    color: #fff;
    background-color: #000;
    margin-bottom: 2px;

    &:hover {
      background-color: @td_theme_color;
      text-decoration: none !important;
    }
  }

  .td-smart-back {
    margin-right: 7px;
    i {
      margin-right: 7px;
      position: relative;
      top: 1px;
    }
  }

  .td-smart-next {
    margin-left: 7px;
    i {
      margin-left: 7px;
      position: relative;
      top: 1px;
    }
  }
}


/*  ----------------------------------------------------------------------------
    Smart list 7
*/
.td_smart_list_7 {
  position: relative;
  margin-bottom: 21px;

  .td-sml-current-item-title {
    display: block;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-top: 0;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      font-size: 18px;
      line-height: 24px;
    }

    @media (max-width: @responsive_p_phone_max) {
      display: block;
      width: 100%;
      text-align: center;
      margin-top: 10px;
      margin-bottom: 10px;
    }
  }

  // top pagination
  .td-smart-list-pagination {
    display: inline-block;
    width: 100%;
    position: absolute;
    top: 0;
    margin-bottom: 0;

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      position: relative;
      margin-top: 10px;
    }

    .td-smart-back {
      float: left;
    }
    .td-smart-next {
      float: right;
    }
  }

  //bottom pagination
  .td-item {
    .td-smart-list-pagination {
      position: relative;
      display: inline-block;
      margin-top: 14px;

      /* responsive portrait phone */
      @media (max-width: @responsive_p_phone_max) {
        margin-bottom: 5px;
      }
    }

    .td-item-title {
      margin: 0 85px;

      @media (max-width: @responsive_p_phone_max) {
        margin: 0 5px;
      }
    }
  }

  //buttons
  .td-smart-list-button {
    display: inline-block;
    min-width: 67px;
    text-align: center;
    border-radius: 3px;
    font-family: @font1;
    font-style: normal;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    line-height: 12px;
    padding: 9px 14px;
    color: #fff;
    background-color: #000;

    &:hover {
      background-color: @td_theme_color;
      text-decoration: none !important;
    }
  }

  .td-smart-back {
    i {
      margin-right: 7px;
      position: relative;
      top: 1px;
    }
  }

  .td-smart-next {
    i {
      margin-left: 7px;
      position: relative;
      top: 1px;
    }
  }

  //description
  .td-sml-description {
    p {
      font-size: 12px;
      margin-top: 0;
    }
  }

  //caption
  .td-sml-caption {
    text-align: left;
    font-family: @font2;
    font-style: italic;
    font-size: 11px;
    line-height: 17px;
    color: #000000;
  }

  .td-slide-smart-list-figure {
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

}


/*  ----------------------------------------------------------------------------
    Smart list 8
*/
.td_smart_list_8 {
  position: relative;
  z-index: 1;
  clear: both;

  .td-number-and-title {
    text-align: left;
    padding: 0;
    margin-bottom: 16px;
    position: relative;

    h2 {
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
      margin-bottom: 16px;
      margin-top: 26px;
      color: #000;
    }
  }

  .td-sml-description {
    margin-top: 0;
    p {
      font-size: 12px;
      margin-top: 0;
    }
  }

  // dropdown pagination
  .td-smart-list-dropdown-wrap {
    text-align: center;
    border: 1px solid #ededed;
    margin-bottom: 20px;
    clear: both;

    @media (max-width: @responsive_p_phone_max) {
      margin-top: 10px;
    }

    .td-smart-list-dropdown {
      height: 30px;
      padding: 0 35px 0 10px;
      margin: 10px 0;
      overflow: hidden;
      background-color: #fff;
      border: none;
      box-shadow: none;
      -webkit-appearance:none;
      -moz-appearance:none;
      -o-appearance:none;
      appearance:none;
      outline: none;
      font-family: @font1;
      max-width: 60%;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      -ms-text-overflow: ellipsis;
      cursor: pointer;

      /* responsive portrait phone */
      @media (max-width: @responsive_p_phone_max) {
        text-align: center;
        max-width: 70%;
      }

      option {
        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          text-align: left;
        }
      }

      &::-ms-expand {
        display: none;
      }
    }

    .td-smart-list-container {
      display: inline;
      position: relative;

      &:before {
        content: '';
        width: 0;
        height: 0;
        position: absolute;
        top: 7px;
        right: 16px;
        z-index: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid black;
        pointer-events: none;
      }
    }

    .td-smart-list-button {
      padding: 2px 18px;
      margin: 0;
      background-color: transparent !important;
      color: inherit;

      /* responsive portrait phone */
      @media (max-width: @responsive_p_phone_max) {
        padding: 2px 6px;
      }

      i {
        display: none;

        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          display: inline;
          top: 1px;
          font-size: 16px;
          position: relative;
        }
      }

      .td-icon-left:before {
        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          content: '\e802';
          margin-right: 10px;
        }
      }
      .td-icon-right:before {
        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          content: '\e803';
          margin-left: 10px;
        }
      }

      &:hover {
        background-color: transparent !important;
        color: @td_theme_color;
        text-decoration: none !important;
      }

      span {
        /* responsive portrait phone */
        @media (max-width: @responsive_p_phone_max) {
          display: none;
        }
      }
    }

    .td-smart-disable {
      &:hover {
        color: #222;
      }
    }

    .td-smart-next {
      border-left: 1px solid #ededed;
      margin-left: 3px;
    }

    .td-smart-back {
      border-right: 1px solid #ededed;
      margin-right: 3px;
    }
  }

  @-moz-document url-prefix() {
    .td-smart-list-dropdown-wrap {
      .td-smart-list-container:before {
        top: 9px;
      }
    }
  }
}