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

/*
Lifestyle demo
*/
.td-lifestyle {

  /*
  header--------------------------------
  */
  .td-header-style-1 {
    .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: #38a6c1;
    }

    .td-header-sp-recs {
      margin-bottom: 28px;

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

    .td-header-gradient:before {
      display: none;
    }
    .td-header-menu-wrap {
      border-bottom: 1px solid #eeeeee;
      border-top: 1px solid #eeeeee;
    }
    .sf-menu > li > a:after {
      background-color: transparent;
    }
  }

  /*
  body--------------------------------
  */
  //main page top wrap
  .td-main-page-wrap {
    padding-top: 28px;
    
    /* responsive portrait phone */
    @media (max-width: @responsive_p_phone_max) {
      padding-top: 14px;
    }
  }

  //big grid title uppercase
  .td_block_big_grid_fl_3 .td-big-grid-post .entry-title {
    text-transform: uppercase;
  }

  //block headers
  .td_block_template_8 {

    .td-block-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 1px;
      background-color: #38a6c1;
      opacity: .3;
      -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity='30')";
      filter: alpha(opacity=30);
    }

    &.td_block_big_grid_fl_3 .td-meta-info-container {
      text-align: center;
    }
  }
  .td_block_template_8 .td-block-title > *:before {
    display: none;
  }


  //module 10 borders and spacing
  .td-pb-span8 .td_block_18 .td_module_10 {
    margin-bottom: 35px;
    padding-bottom: 35px;

    &:before {
      content: '';
      width: 100%;
      height: 1px;
      position: absolute;
      bottom: 0;
      left: 0;
      background-color: #000;
      opacity: .06;
      box-sizing: border-box;
    }

    &:last-child:before {
      display: none;
    }
  }

  //category header
  &.td_category_template_7 {

    .td-category-title-holder {
      padding: 40px 15% 60px !important;
    }

    .td-category-header .td-page-title {
      position: relative;

      &:after{
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        content: '';
        display: block;
        position: absolute;
        width: 80px;
        height: 1px;
        background-color: #38a6c1;
        opacity: .2;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity='20')";
        filter: alpha(opacity=20);
      }
    }

    @media(max-width:767px){
      .td-pulldown-container{
        display:none;
      }
      .td-category-title-holder {
        padding: 60px 15% 50px !important;
      }

      .td-category-description p{
        margin-top: 25px;
        margin-bottom: 0;
      }
    }
  }

  // pagination
  .td-next-prev-wrap {
    display: table;
    margin-left: auto;
    margin-right: auto;

    a {
      border: none;
    }

    .td-ajax-next-page:after {
      content: '';
      position: absolute;
      top: 0;
      left: 28px;
      width: 1px;
      height: 100%;
      background-color: #000;
      opacity: .08;
    }
  }

  //social counter style
  .td-social-style3 {

    .td-sp {
      background-color: #333;
    }

    .td_social_type {

      .td_social_button a:hover {
        color: #38a6c1;
      }

      &:hover .td-sp {
        background-color: #38a6c1;
      }
      .td_social_button {
        margin-top: 7px;

        a {
          display: block;
          color: #000;
          border-style: solid;
          border-color: rgba(0, 0, 0, .08);
          border-width: 1px 0 0 1px;
          padding: 6px 0 2px 14px;
          font-size: 10px
        }
      }
    }
    .widget_recent_entries li {
      margin-bottom: 15px;
      padding-bottom: 15px
    }
  }

  //post social sharing
  .td-post-sharing-top {
    .td-social-sharing-buttons {
      padding: 8px 18px 8px 18px;
    }
    .td-social-google,
    .td-social-pinterest{
      padding: 8px 10px 8px 11px;
    }
    .td-social-but-text{
      padding-left: 0;
      margin-left: 9px;
    }
  }

  .td-post-sharing-bottom {
    .td-social-sharing-buttons {
      padding: 5px 9px 4px 9px;
    }
    .td-social-but-text{
      padding-left: 0;
    }
  }
  .td-default-sharing .td-social-sharing-buttons{
    color:black;
    background-color:transparent;
    border:1px solid #ebebeb;
    border-radius:20px;
  }
  .td-social-facebook .td-icon-facebook{
    color: #3d76c3
  }
  .td-social-twitter .td-icon-twitter{
    color: #29c5f6;
  }
  .td-social-google .td-icon-googleplus{
    color: #eb4026;
  }
  .td-social-pinterest .td-icon-pinterest{
    color: #ca212a;
  }

  &.single_template_11 .td-default-sharing .td-social-sharing-buttons{
    color:white;
  }

  //pagination
  .page-nav a, .page-nav span, .page-nav:first-child > div{
    border-radius:20px
  }

  //demo pannel download button
  // demos button
  .td-live-theme-demos .td-skin-buy a {
    background-color: #38a6c1;
  }

}


