@charset "utf-8";

@import "../initial";

// Link MODULES
.widget-link {
  // 在 layout-content 下的樣式
  padding: 25px 8% ;
  .widget-title {
    @extend .unity-title;
  }

  &.widget1 {
    .list-unstyled{
      margin: 0;
    }
    .widget-content {
      line-height: 1.2em;
      padding-bottom: 10px;
      background: url(/assets/links_icon.jpg) left 7px no-repeat;
      padding-left: 17px;

      & + .widget-content {
        
      }

      .widget-content-title {
        display: inline-block;
        color: #474747;
        font-size: $font-15;  
        font-family: $main-font;      
        &:hover{
          text-decoration: underline;
          color: $theme-color-main;
        }
        @media (max-width: $screen-md){
          font-size: $font-15;
          margin-bottom:4px;
        }

      }

    }

    // 在 layout-footer 下的樣式
    .layout-footer & {
      .widget-content {
        line-height: 2em;
        border-top-color: $theme-gray;
      }
    }
  }
}

// Link INDEX
.index-link {
  .index-title {
    @extend .unity-title;
  }

  &.index1 {
    .index-content {
      list-style-type: circle;
      list-style-position: inside;

      & + .index-content {
        border-top: 1px dotted $theme-gray-light;
      }

      .index-context {
        display: inline-block;
        font-size: 0.8125em;
        margin: 0 0 10px 2em;
        color: darken($theme-gray-light, 20%);
      }
    }

    .index-content-title {
      font-family: $main-font;
      font-size: 1em;
    }
  }
}