@import "../../less_files/variables.less";

.td-craft-ideas {
  // main menu - header style 10
  .td-header-style-10 {
    .td-header-top-menu-full {
      position: absolute;
      top: 0;
    }

    .sf-menu > li > a:after {
      display: none;
    }

    /* responsive portrait tablet */
    @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
      .td-header-main-menu {
        padding-left: 30px;
        padding-right: 30px;
      }
      ul.sf-menu > .td-menu-item > a {
        font-size: 10px;
        [class*="ico-craft-"] {
          font-size: 16px;
        }
      }
    }

    .sf-menu > .current-menu-item > a,
    .sf-menu > .current-menu-ancestor > a,
    .sf-menu > .current-category-ancestor > a,
    .sf-menu > li:hover > a,
    .sf-menu > .sfHover > a {
      color: #70c3b7;
    }

    // logo
    .td-header-sp-logo img {
      /* responsive landscape tablet */
      @media (min-width: @responsive_l_tablet_min) and (max-width: @responsive_l_tablet_max) {
        max-height: 260px;
        margin-top: 10px;
      }
      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        max-height: 200px;
        margin-top: 20px;
      }
    }
  }

  // mega menu
  .td_block_mega_menu {
    .td_module_mega_menu {
      text-align: center;
    }
  }

  // icons
  @font-face {
    font-family: 'craft-ideas';
    src: url('font/craft_ideas.eot?1');
    src: url('font/craft_ideas.eot?1#iefix') format('embedded-opentype'),
    url('font/craft_ideas.woff?1') format('woff'),
    url('font/craft_ideas.ttf?1') format('truetype'),
    url('font/craft_ideas.svg?1#craft-ideas') format('svg');
    font-weight: normal;
    font-style: normal;
  }

  [class^="ico-craft-"]:before, [class*=" ico-craft-"]:before {
    font-family: 'craft-ideas';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    text-align: center;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

  }

  [class*="ico-craft-"] {
    line-height: 1;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    font-size: 22px;
    margin-right: 10px;
  }

  // all icons
  .ico-craft-food:before {    content: "\e900";  }
  .ico-craft-home:before {    content: "\e903";  }
  .ico-craft-sew:before {    content: "\e907";  }
  .ico-craft-buttons:before {    content: "\e902";  }
  .ico-craft-lifehacks:before {    content: "\e905";  }
  .ico-craft-circle:before {    content: "\e901";  }
  .ico-craft-diy:before {    content: "\e904";  }
  .ico-craft-more:before {    content: "\e906";  }

  // comments
  .td-module-comments a {
    background-color: #fdc42d;

    &:after {
      border-color: #fdc42d transparent transparent transparent;
    }
  }

  // category
  .td-post-category {
    position: relative;
    background-color: transparent;
    color: #70c3b7;
    margin-right: 0;
    padding: 6px 0;

    &:hover {
      background-color: transparent;
    }
  }
  .td_module_mega_menu {
    .td-post-category {
      margin-right: 0;
      padding: 12px 0 0;
    }
  }

  // social counter
  .td-social-style3 {
    .td_social_type .td_social_info {
      font-family: Crimson Text;
      font-size: 14px;
      font-weight: 400;
    }
    .td_social_type a {
      font-family: Crimson Text;
      font-size: 12px;
    }
  }

  // read more + load more button
  .td-read-more a,
  .more-link-wrap a {
    background-color: transparent !important;
    background-image: url("images/read-more-bg.png");
    background-size: 100%;
    background-repeat: no-repeat;
    display: inline;
    color: #fff !important;
    opacity: 0.8;
    font-size: 12px;
    padding: 10px 18px;

    &:hover {
      opacity: 1;
    }

    i {
      display: none;
    }
  }
  .td_module_18 .td-read-more {
    margin-top: 20px;
  }
  .td_ajax_load_more {
    background-color: transparent !important;
    background-image: url("images/header-bg.png");
    background-size: 100%;
    background-repeat: no-repeat;
    border: none;
    color: #fff !important;
    opacity: 0.8;
    font-size: 12px;
    padding: 11px 24px;

    &:hover {
      opacity: 1;
    }
  }

  // header image general
  .td_block_template_6 {
    .td-block-title {
      background-image: url("images/header-bg.png");
      > * {
        color: #fff;
      }
      &:before {
        display: none;
      }
    }
  }

  // modules
  .td_module_18 .meta-info-container {
    padding-bottom: 28px;
  }
  .td_module_3 {
    text-align: center;
  }

  // blocks
  // block 9
  .td_block_9 {
    .td-module-meta-info {
      display: none;
    }
    .td_module_wrap {
      padding-bottom: 6px;
      margin-bottom: 12px;
    }
    .td-module-title {
      font-size: 14px;
      line-height: 21px;
    }
  }
  // image box
  .td_block_image_box.td-image-box-style-2 .entry-title {
    font-size: 12px;
    font-family: Montserrat;
  }
  .td_block_image_box .td-small-image .td-custom-image a {
    background-color: #f9f9f9;
  }
  // author box
  .td_block_author .td-author-name {
    font-size: 24px;
    font-family: Indie Flower;
    font-weight: normal;
    text-transform: none;
  }

  // category page
  &.td_category_template_1 {
    .td-category-header {
      text-align: center;
      padding-bottom: 38px;

      .td-page-title {
        font-weight: normal;
        margin: 30px 0 0;
      }
      .td-category-description {
        width: auto;
      }
    }
  }

  // big grids
  .td_block_big_grid_fl_2.td-grid-style-1 {
    .td-meta-info-container {
      text-align: center;
    }
    .td-big-grid-post .entry-title {
      font-size: 28px;
      line-height: 36px;
    }
  }

  // post related
  .td_block_template_6 .td-related-title {
    margin-bottom: 0;
    background-image: none;

    a {
      color: #000;
    }

    .td-cur-simple-item {
      color: #70c3b7;
    }

    &:before {
      display: none;
    }
  }

  // top menu
  .top-header-menu .avatar {
    border-radius: 50px;
  }


  // pagination
  .page-nav a,
  .page-nav span {
    border-radius: 20px;
  }

  // demos button
  #td-theme-settings .td-skin-buy a {
    background-color: #fdc42d;
  }
}