@function bold($item: &) {
    @if $font-secondary != false { 
        @if index($font-secondary-items, $item) != null {
            @return $font-secondary-bold;
        } @else {
            @return $font-main-bold;
        }
    } @else {
        @return $font-main-bold;
    }
}


@mixin minititle($size: $h5-font-size, $weight: $font-main-bold, $uppercase: true, $letter-spacing: $letter-spacing) {
	@include ritmo-font-size($size, 4);
	font-weight: $weight;
	@if $uppercase {
		text-transform:uppercase;
	}
	letter-spacing: $letter-spacing;
}


@mixin text-border($border-color, $border-width, $text-color: false) {
    @if $text-color {
        color: $text-color;
    }
    text-shadow: 
        -$border-width -$border-width 0 $border-color,  
        $border-width -$border-width 0 $border-color,
        -$border-width $border-width 0 $border-color,
        $border-width $border-width 0 $border-color;
    
    @at-root {
        @supports (-webkit-text-stroke: $border-width $border-color) {
            & {
                text-stroke: $border-width $border-color;
                -webkit-text-stroke: ( $border-width / 2 ) $border-color;
                text-shadow:none;
            }
        }
    }
}