//mixin_font_Stolz

//ultra-light ok
$Stolzl-Thin: "STOLZ_0";
$file: "35A23E_0_0";
$family: "STOLZ/webfonts";
$category: "sans-serif";

@mixin font-face($Stolzl-Thin, $file, $family, $category:"") {
    $filepath: "../fonts/" + $family + "/" + $file;
    @font-face {
        font-family: "#{$Stolzl-Thin}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Thin + "") format('svg');
    }
    %#{$Stolzl-Thin} {
        font: {
            @if $category != "" {
                family: "#{$Stolzl-Thin}", #{$category};
            }
            @else {
                family: "#{$Stolzl-Thin}";
                weight: normal;
            }
        }
    }
}

//medium ok
$Stolzl-Medium: "STOLZ_1";
$file3: "35A23E_1_0";

@mixin font-face($Stolzl-Medium, $file3, $family, $category:"") {
    $filepath: "../fonts/" + $family + "/" + $file3;
    @font-face {
        font-family: "#{$Stolzl-Medium}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Medium + "") format('svg');
    }
    %#{$Stolzl-Medium} {
        font: {
            @if $category != "" {
                family: "#{$Stolzl-Medium}", #{$category};
            }
            @else {
                family: "#{$Stolzl-Medium}";
                weight: normal;
            }
        }
    }
}

//light ok
$Stolzl-Light: "STOLZ_2";
$file2: "35A23E_2_0";

@mixin font-face($Stolzl-Light, $file2, $family, $category:"") {
    $filepath: "../fonts/" + $family + "/" + $file2;
    @font-face {
        font-family: "#{$Stolzl-Light}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Light + "") format('svg');
    }
    %#{$Stolzl-Light} {
        font: {
            @if $category != "" {
                family: "#{$Stolzl-Light}", #{$category};
            }
            @else {
                family: "#{$Stolzl-Light}";
                weight: normal;
            }
        }
    }
}



//book ok
$Stolzl-Book: "STOLZ_3";
$file4: "35A23E_3_0";

@mixin font-face($Stolzl-Book, $file4, $family, $category:"") {
  $filepath: "../fonts/" + $family + "/" + $file4;
  @font-face {
    font-family: "#{$Stolzl-Book}";
    src: url($filepath + ".eot");
    src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Book + "") format('svg');
  }
  %#{$Stolzl-Book} {
    font: {
      @if $category != "" {
        family: "#{$Stolzl-Book}", #{$category};
      }
      @else {
        family: "#{$Stolzl-Book}";
        weight: normal;
      }
    }
  }
}

//bold
$Stolzl-Regular: "STOLZ_4";
$file1: "35A23E_4_0";

@mixin font-face($Stolzl-Regular, $file1, $family, $category:"") {
    $filepath: "../fonts/" + $family + "/" + $file1;
    @font-face {
        font-family: "#{$Stolzl-Regular}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Regular + "") format('svg');
    }
    %#{$Stolzl-Regular} {
        font: {
            @if $category != "" {
                family: "#{$Stolzl-Regular}", #{$category};
            }
            @else {
                family: "#{$Stolzl-Regular}";
                weight: normal;
            }
        }
    }
}

//black
$Stolzl-Bold: "STOLZ_5";
$file5: "35A23E_5_0";

@mixin font-face($Stolzl-Bold, $file5, $family, $category:"") {
    $filepath: "../fonts/" + $family + "/" + $file5;
    @font-face {
        font-family: "#{$Stolzl-Bold}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Bold + "") format('svg');
    }
    %#{$Stolzl-Bold} {
        font: {
            @if $category != "" {
                family: "#{$Stolzl-Bold}", #{$category};
            }
            @else {
                family: "#{$Stolzl-Bold}";
                weight: normal;
            }
        }
    }
}

$Chronicle_Display_Semibold: "Chronicle Display Semibold";
$file6: "Chronicle_Display_Semibold";
$family2: "Chronicle_Display_Semibold";
$category2: "serif";

@mixin font-face($Chronicle_Display_Semibold, $file6, $family2, $category:"") {
    $filepath: "../fonts/" + $family2 + "/" + $file6;
    @font-face {
        font-family: "#{$Chronicle_Display_Semibold}";
        src: url($filepath + ".eot");
        src: url($filepath + ".eot?#iefix") format('embedded-opentype'), url($filepath + ".woff") format('woff'), url($filepath + ".ttf")  format('truetype'), url($filepath + ".svg#" + $Stolzl-Bold + "") format('svg');
    }
    %#{$Chronicle_Display_Semibold} {
        font: {
            @if $category != "" {
                family: "#{$Chronicle_Display_Semibold}", #{$category};
            }
            @else {
                family: "#{$Chronicle_Display_Semibold}";
                weight: normal;
            }
        }
    }
}
