/*
ie8, ie9, ie10, ie11
td-md-is-ios
td-md-is-android
td-md-is-os-x
td-md-is-chrome
td-md-is-firefox
td-md-is-safari
*/


/*  ----------------------------------------------------------------------------
    IE - misc
*/
/* smart list type 1 */
.ie8 {
  .td_smart_list_1 {
    .td-iosSlider {
      width: 100% !important;
      height: 100% !important;
      //background: #aaaaaa;//for debugging
    }
  }
}


/* smart list type 3 */
.ie8 {
  .td_smart_list_3 {

    .td-iosSlider {
      width: 100% ;
      height: 100%;
    }

    .td-sml3-description {
      position: relative;
      top: 0;
    }

    .td-sml3-display-image {
      top: 25px;
    }

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

    .td-sml3-bottom-title {
      display:none;
    }
  }
}


/* top menu */
.ie8, .ie9, .ie10, .ie11 {
  .top-header-menu {
    .td-icon-menu-down {
      padding: 0 0 0 8px;
    }

    .menu-item-has-children {
      li {
        a {
          top: -1px;
        }
      }
    }
  }

  //remove the scale effect on big grids
  .td-hover-1 .td-big-grid-post:hover .td-module-thumb .entry-thumb {
    transform: none;
  }
}


.ie9 {
  @media screen and (max-width: @responsive_p_phone_max) {
    .td-menu-mob-open-menu {
      .td-content-wrap {
        left: 80%;
      }
    }
  }
}

/* blocks title */
.ie8, .ie9, .ie10, .ie11 {
  .block-title {
    line-height: 19px;
  }
  .td-module-comments a {
    padding: 2px 8px 3px 6px;
  }
  .td-footer-container .td-search-form-widget .wpb_button {
    border-radius: 0;
  }

  @media (min-width: 768px) {
    .td-header-wrap .td-affix .td-main-menu-logo img {
      top: -2px;
    }
    .td-trending-now-title {
      font-size: 9px;
    }
  }

  // live demos down arrow fix
  .td-live-theme-demos {
    .td-skin-scroll {
      .transition(all 0.4s cubic-bezier(.55,0,.1,1) 0s);
      left: auto;
      right: -118px;

      @media (max-width: 1366px) {
        right: -78px;
      }
    }
  }
  .td-theme-settings-small {
    .td-skin-scroll {
      right: 118px;

      @media (max-width: 1366px) {
        right: 78px;
      }
    }
  }
}

/* fix the blocks on 3 columns to fit */
.ie8 {
  .td-pb-span12 {
    width: 1021px;
  }

  // pulldown category background color fix
  .td-pulldown-filter-list {
    background-color: #ffffff;
  }
  .td_block_13,
  .td_block_14,
  .td_block_15 {
    .td-pulldown-filter-display-option,
    .td-pulldown-filter-list {
      background-color: #222222;
    }
  }

  // tab fix
  .wpb_tabs_nav a {
    border-right: 1px solid #222222;
  }
}

// type
.ie8 {
  .alignleft {
    float: left;
    margin-right: 21px;
    margin-top: 6px;
    margin-bottom: 6px;
  }
  .alignright {
    float: right;
    margin-left: 21px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  // new menu and search fix
  .td-menu-background,
  #td-mobile-nav {
    left: -100%;
  }
  // menu opened class .td-menu-mob-open-menu
  .td-menu-mob-open-menu {
    .td-menu-background,
    #td-mobile-nav {
      left: 0;
    }
  }

  .td-search-background {
    right: 100%;
  }
  // search opened class .td-search-opened
  .td-search-opened {
    .td-search-background {
      right: 0;
    }
  }

  .td-live-theme-demos {
    display: none;
  }

  .td-trending-now-post {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

    &:first-child {
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
  }
}

//ie9 grid styles fix


.ie9 {
  .td-grid-style-1 {
    .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }
  }

  .td-grid-style-6 {
    .td-big-grid-post-0 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzRjZjBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxZTUzZTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }



    &.td_block_big_grid_7 .td-big-grid-post-2 .td-module-thumb a:last-child:before,
    .td-big-grid-post-1 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZDIxZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYzJhMDIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }


    &.td_block_big_grid_7 .td-big-grid-post-1 .td-module-thumb a:last-child:before,
    .td-big-grid-post-2 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3Bh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KPC9zdmc+);
    }


    .td-big-grid-post-4 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlNzczZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiYjAyMWIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }


    &.td_block_big_grid_4 .td-big-grid-post-4 .td-module-thumb a:last-child:before,
    .td-big-grid-post-5 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmNmVhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjODE5NTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }

    &.td_block_big_grid_6 .td-big-grid-post-5 .td-module-thumb a:last-child:before,
    &.td_block_big_grid_5 .td-big-grid-post-4 .td-module-thumb a:last-child:before,
    .td-big-grid-post-6 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzRmZmZkMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDVmODciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    }
  }


  .td-grid-style-7 {
    .td-big-grid-post-0 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNDEwY2JjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmNmYzMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }

    .td-big-grid-post-1 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz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VudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }

    .td-big-grid-post-3 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAxNmJlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJhZWM3NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }

    .td-big-grid-post-4 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDIzYzhjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmODZkMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }

    &.td_block_big_grid .td-big-grid-post-4 .td-module-thumb a:last-child:before,
    &.td_block_big_grid_5 .td-big-grid-post-2 .td-module-thumb a:last-child:before,
    .td-big-grid-post-5 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDBhYzgxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmNzc4ZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }

    &.td_block_big_grid_6 .td-big-grid-post-4 .td-module-thumb a:last-child:before,
    &.td_block_big_grid_4 .td-big-grid-post-2 .td-module-thumb a:last-child:before,
    .td-big-grid-post-6 .td-module-thumb a:last-child:before {
      background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDA3ODA4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZjk0MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    }
  }

  // new menu and search fix
  .td-menu-background,
  #td-mobile-nav {
    left: -100%;
  }
  // menu opened class .td-menu-mob-open-menu
  .td-menu-mob-open-menu {
    .td-menu-background,
    #td-mobile-nav {
      left: 0;
    }
  }

  .td-search-background {
    right: 100%;
  }
  // search opened class .td-search-opened
  .td-search-opened {
    .td-search-background {
      right: 0;
    }
  }
}

/*  ----------------------------------------------------------------------------
    Chrome
*/
.td-md-is-chrome {
  @media (min-width: 768px) {
    .td-header-style-4 .td-main-menu-logo a img,
    .td-header-style-5 .td-main-menu-logo a img,
    .td-header-style-9 .td-main-menu-logo a img {
      top: -1px;
    }
  }

  .td-next-prev-wrap i {
    padding: 4px 6px 3px;
  }

  .td_block_mega_menu {
    .td-next-prev-wrap i {
      padding: 3px 6px 2px;
    }
  }

  // fix repaint in chrome bug on load more
  .td_block_inner_overflow {
    .td_module_wrap,
    .item-details {
      position: relative;
    }
  }
}


/*  ----------------------------------------------------------------------------
    Android
*/
.td-md-is-android {
  #td-top-mobile-toggle i {
    line-height: 58px;
    padding-left: 11px;
  }

  .td-mobile-close a {
    padding: 16px 0 16px;
  }

  // block title
  .block-title > a,
  .block-title > span {
    padding: 3px 15px 1px;
  }

  // module comment box
  .td-module-comments a {
    padding: 3px 6px;
  }

  // pagination
  .page-nav a,
  .page-nav span {
    padding: 4px 10px 2px;
  }
  .page-nav .pages {
    padding-right: 0;
  }

  // widget calendar
  .widget_calendar tfoot a {
    padding: 3px 15px 1px;
  }

  // mega menu
  .td_block_mega_menu {
    .td-next-prev-wrap i {
      padding: 3px 6px 2px;
    }
    .td_mega_menu_sub_cats a {
      padding: 3px 15px 2px;

      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        padding: 2px 12px;
      }
    }
    .td-post-category {
      padding: 5px 6px;
    }
  }

  // search icon
  .header-search-wrap .td-icon-search {
    font-size: 23px;

    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      font-size: 26px;
    }
  }

  // category title
  &.category .entry-title span {
    padding: 3px 15px 2px;
  }

  // dropcaps
  .dropcap {
    padding: 3px 10px 1px;
  }

  // tabs
  .wpb_tabs li a {
    padding: 2px 15px 0 !important;
  }

  // lists
  .td-page-content .td-arrow-list li::before {
    line-height: 20px;
  }

  // author page
  .td-author-counters span {
    padding: 4px 15px 2px;
  }

  // more stories box
  .td-close-more-articles-box {
    top: 19px;
  }

  // related posts
  .td-related-title a {
    padding: 2px 14px 1px;
  }

  // trending now
  .td-trending-now-title {
    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      padding: 2px 15px 3px;
    }
  }
  .td-trending-now-wrapper .td-next-prev-wrap {
    top: 2px;
  }
  .td-trending-now-title {
    top: -5px;

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

  .td-next-prev-wrap i {
    padding: 6px 6px 3px;
  }

  /* make the font bigger on search so that it will not zoom in on mobiles */
  input[type="text"],
  .td-login-wrap .td-login-input {
    font-size: 16px !important;
  }

  .td-grid-style-2 .td-big-grid-post .td-post-category,
  .td-grid-style-6 .td-big-grid-post .td-post-category,
  .td-grid-style-7 .td-big-grid-post .td-post-category {
    padding: 0;
  }

  // remove animation for mobile menu
  .td-menu-mob-open-menu,
  .td-search-opened {
    #td-outer-wrap {
      .transform(translate3d(0, 0, 0));
    }
  }

  // the scroll down demo arrow
  .td-skin-scroll {
    display: none;
  }
}



/*  ----------------------------------------------------------------------------
    iOS
*/
.td-md-is-ios {
  /* make the font bigger on search so that it will not zoom in on mobiles */
  input[type="text"],
  .td-login-wrap .td-login-input {
    font-size: 16px !important;
  }

  // the scroll down demo arrow
  .td-skin-scroll {
    display: none;
  }
}


/*  ----------------------------------------------------------------------------
    Firefox
*/
.td-md-is-firefox {

}