// =================================================================
// Dependencies
// =================================================================

@if $use-default-icons {
	@if $font-weight-icon == 900 {
		// Font Awesome Solid
		@font-face {
			font-family: "Font Awesome 5 Free";
			font-style: normal;
			font-weight: 900;
			font-display: block;
			src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.eot");
			src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.woff2") format("woff2"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.woff") format("woff"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.ttf") format("truetype"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-solid-900.svg#fontawesome") format("svg");
		}
	} @else {
		// Font Awesome Regular
		@font-face {
			font-family: "Font Awesome 5 Free";
			font-style: normal;
			font-weight: 400;
			font-display: block;
			src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.eot");
			src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.woff2") format("woff2"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.woff") format("woff"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.ttf") format("truetype"),
				url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-regular-400.svg#fontawesome") format("svg");
		}
	}

	@font-face {
		font-family: "Font Awesome 5 Brands";
		font-style: normal;
		font-weight: 400;
		font-display: block;
		src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.eot");
		src: url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"),
			url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.woff2") format("woff2"),
			url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.woff") format("woff"),
			url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.ttf") format("truetype"),
			url("https://www.bu.edu/cdn/fonts/FontAwesome-Free/webfonts/fa-brands-400.svg#fontawesome") format("svg");
	}


	/*
	* Load BU Default Icons font which is needed for a handful of icons not available
	* in FontAwesome 5.
	*/

	@font-face {
		font-family: "BU-Default-Icons";
		src: url("https://www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.eot");
		src: url("https://www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.eot?#iefix") format("embedded-opentype"),
			url("https://www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.woff") format("woff"),
			url("https://www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.ttf") format("truetype"),
			url("https://www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.svg#bu-default-icons") format("svg");
		font-style: normal;
		font-weight: 400;
	}
}


@import "mixins";

/*!
 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */

@import 'node_modules/@fortawesome/fontawesome-free/scss/variables';

// =================================================================
// Base Icon Styles
// =================================================================

// Print Icon Classes
//
// Choose whether or not to print CSS classes for icons in your
// stylesheet. By default, this option is false for child themes,
// and true for the framework. Set this to true when you want to
// give the client flexibility to choose their own icons using CSS
// and custom HTML.
//
// #### Examples
//
// ##### Print all icon classes in your stylesheet.
//
// ```
//
// $print-icon-classes: true;
//
// ```
//
// Styleguide Utilities.Icons.Print Icon Classes
//
// Access: Public
//
// Since: 2.0.0

$print-icon-classes:                 false !default;

// Icon Base placeholder
//
// Provides base icon styles normalized across browsers and optimized
// for accessibility.
//
// Use this placeholder if you are loading your own font library
// and can't use the built-in icons because the content is different.
//
// This should go on your base element. The complimentary placeholder,
// `%icon-content`, needs to go on a `:before` or `:after` underneath.
//
// #### Examples
//
// ##### Add the icon base to a custom icon you've created.
//
// ```
//
// .your-custom-icon {
// 	@extend %icon-base;
//
//		&::after {
// 		@extend %icon-content;
//		}
//	}
// ```
//
// Styleguide Utilities.Icons.Icon Base Placeholder
//
// Access: Public
//
// Since: 1.2.0

%icon-base {
	@include icon-base;
}

// Icon Content Placeholder
//
// Provides base icon styles normalized across browsers and optimized
// for accessibility.
//
// Use this placeholder on :before or :after if you are loading your own
// font library and can't use the built-in icons because the content is different.
//
// You will also need the %icon-base placeholder on your hoverable element if you
// need compatibility before IE9.
//
// #### Examples
//
// ##### Add the icon base to a custom icon you've created.
//
// ```
//
// .your-custom-icon {
// 	@extend %icon-base;
//
//		&::after {
// 		@extend %icon-content;
//		}
//	}
// ```
//
// Styleguide Utilities.Icons.Icon Content Placeholder
//
// Access: Public
//
// Since: 1.2.0

%icon-content {
	@include icon-content;
}

%icon-family-brands::before {
	font-family: "Font Awesome 5 Brands";
}

%icon-family-budefault::before {
	font-family: "BU-Default-Icons";
}
