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


/*
  Coffee blog demo
*/
.td-blog-coffee {

  // header
  .td-header-style-7 {

    border-bottom: 1px solid #ddd;

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

      &:after {
        width: 30px;
      }
    }

    .sf-menu a.sf-with-ul {
      padding-right: 20px;
    }

    .sf-menu > li > a {
      padding: 0 20px;

      &:after {
        height: 1px;
        bottom: -1px;
      }
    }

    .td-header-gradient:before {
      display: none;
    }

    .td-icon-menu-down {
      display: none;
    }

    .td-header-sp-logo img {
      padding: 0 20px 0 0;
    }
  }

  .td-header-menu-wrap.td-affix {
    border-bottom: 1px solid #ddd;
  }


  //block titles
  .td_block_template_9 {
    .td-block-title:before {
      height: 1px;
    }

    .td-block-title:after {
      height: 1px;
      width: 30px;
    }
  }


  //module 18
  .td_module_18 {

    //category
    .td-post-category {
      font-family: 'Open Sans', Arial, sans-serif;
      font-size: 11px;
      font-weight: 400;
      color: #888;
      padding: 10px 20px;
      border: 1px solid #ddd;
      border-radius: 50px;

      &:hover {
        opacity: 1;
        border: 1px solid #888;
      }
    }

    //title
    .entry-title {
      font-weight: 400;
      margin: 20px 0;

      a {
        color: #444;
      }

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

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

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

    //image
    .td-module-thumb {
      margin-bottom: 0;
    }

    //text container
    .meta-info-container {
      padding-bottom: 40px;
      border-bottom: 1px solid #ddd;
      text-align: left;
    }

    .td-module-meta-info {
      margin-bottom: 34px;
    }

    //excerpt
    .td-excerpt {
      font-family: "Brawler", Georgia, serif;
      font-size: 18px;
      line-height: 30px;
      margin-top: 30px;

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

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

    //read more button
    .td-read-more,
    .more-link-wrap {
      font-family: "Open Sans", Arial, sans-serif;
      margin: 30px 0 0;

      a {
        padding: 14px 30px;
        border-radius: 50px;
        border: 1px solid #ddd;
        color: #888;
      }

      &:hover {
        a {
          border: 1px solid #888;
          color: #888;
        }
      }
    }

    .td-icon-menu-right {
      font-size: 7px;
      margin-left: 10px;
      color: #aaa;
    }
  }


  //module mx18
  .td_module_mx18 {
    .td-module-title a {
      /* responsive portrait tablet */
      @media (min-width: @responsive_p_tablet_min) and (max-width: @responsive_p_tablet_max) {
        font-size: 36px;
        line-height: 42px;
      }

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


  //module 8
  .td_module_8 {
    border-bottom: 1px solid #ddd;

    //title color
    h3 > a {
      color: #444;
    }

    //comments
    .td-module-comments {
      display: none;
    }
  }


  //load more button
  .td_block_23 {
    .td-next-prev-wrap,
    .td-load-more-wrap {
      margin-top: 60px;
    }

    .td_ajax_load_more {
      border-radius: 50px;
      padding: 10px 20px;
    }
  }


  //module 11
  .td_module_11 {
    .td-module-comments {
      display: none;
    }

    .td-read-more {
      font-family: "Open Sans", Arial, sans-serif;

      a {
        padding: 14px 30px;
        border-radius: 50px;
        border: 1px solid #ddd;
        color: #888;
        background-color: transparent;

        &:hover {
          border: 1px solid #888;
          color: #888;
          background-color: transparent !important;
        }
      }
    }
  }


  //author block
  .td_block_author .td-author-name {
    font-family: "Volkhov", Georgia, serif;

    a {
      color: #444;
    }
  }

  //author name color on big grids
  .td-big-grid-post .td-module-meta-info .td-post-author-name a {
    color: #fff;
  }


  //social counter
  .td-social-style8 .td_social_type {

    .td_social_info {
      color: #444;
    }

    .td-sp:before {
      color: #444;
    }

    &:hover {
      .td-social-box {
        border: 1px solid #888;
      }
    }
  }


  //related posts
  .td_block_related_posts .td-cur-simple-item {
    opacity: 0.8;
  }

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