/*
*  Global variables
*
*  Used across multiple components
*/
/* -------------------------------
    Global spacing variables
--------------------------------- */
/*
*  Global colour variables
*
*  1 - Greyscale colours
*  2 - System colours
*  3 - Accent colours
*    3.1 - Main
*    3.2 - Light
*    3.3 - Dark
*    3.4 - Callout backgrounds
*/
/*** 1 - Greyscale colours ***/
/*** 2 - System colours ***/
/*** 3 - Accent colours ***/
/* Main */
/* Light */
/* Dark */
/* callout backgrounds */
/* icon colours */
/* service ontario header colours */
/*** 1 - Breakpoint sizes for media queries ***/
/* -------------------------------
    Global font-weight variables
--------------------------------- */
/* -------------------------------
    Global font variables
--------------------------------- */
/* -------------------------------
    Focus placeholder variables
--------------------------------- */
/* -------------------------------
    Focus placeholder
--------------------------------- */
.ontario-button:focus,
.ontario-button:active {
	box-shadow: 0 0 0 4px #009adb;
	outline: 4px solid transparent;
	transition: box-shadow 0.1s ease-in-out;
}

:host {
	display: inline-block;
}

.ontario-button {
	border: none;
	border-radius: 4px;
	box-sizing: border-box;
	box-shadow: none;
	display: inline-block;
	font-size: 1.125rem;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.5555555556;
	margin: 0;
	min-width: 10rem;
	padding: 0.625rem 1.5rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
@media screen and (max-width: 40em) {
	.ontario-button {
		margin-right: 0;
		display: block;
		width: 100%;
	}
}
.ontario-button .ontario-icon {
	margin-right: 4px;
}

.ontario-button--primary {
	background-color: #0066cc;
	color: #ffffff;
}
.ontario-button--primary:hover {
	background-color: #00478f;
	color: #ffffff;
}
.ontario-button--primary:focus {
	background-color: #00478f;
	color: #ffffff;
	transition:
		background-color 0.2s ease-out,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--primary:active {
	background-color: #002142;
	color: #ffffff;
	transition:
		background-color 0s,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--primary:visited {
	color: #ffffff;
}

.ontario-button--secondary {
	background-color: #ffffff;
	border: 2px solid #0066cc;
	color: #0066cc;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.ontario-button--secondary:hover {
	background-color: rgb(224.4, 239.7, 255);
	border-color: #00478f;
	color: #00478f;
}
.ontario-button--secondary:focus {
	background-color: rgb(224.4, 239.7, 255);
	border-color: #00478f;
	color: #00478f;
	transition:
		background-color 0.2s ease-out,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--secondary:active {
	background-color: rgb(193.8, 224.4, 255);
	border-color: #002142;
	color: #002142;
	transition:
		background-color 0s,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--secondary:visited {
	color: #0066cc;
}

.ontario-button--tertiary {
	background-color: transparent;
	color: #0066cc;
	text-decoration: underline;
}
.ontario-button--tertiary:hover {
	background-color: rgb(232.05, 232.05, 232.05);
	color: #00478f;
	text-decoration: underline;
}
.ontario-button--tertiary:focus {
	background-color: rgb(232.05, 232.05, 232.05);
	color: #00478f;
	text-decoration: underline;
	transition:
		background-color 0.2s ease-out,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--tertiary:active {
	background-color: rgb(209.1, 209.1, 209.1);
	color: #002142;
	text-decoration: underline;
	transition:
		background-color 0s,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--tertiary:visited {
	color: #0066cc;
}

.ontario-button--internalThemeDark {
	background-color: rgb(25.5, 25.5, 25.5);
	border: 2px solid #ffffff;
	color: #ffffff;
}
.ontario-button--internalThemeDark:hover {
	background-color: rgb(76.5, 76.5, 76.5);
}
.ontario-button--internalThemeDark:focus {
	background-color: rgb(76.5, 76.5, 76.5);
	transition:
		background-color 0.2s ease-out,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--internalThemeDark:active {
	background-color: rgb(76.5, 76.5, 76.5);
	transition:
		background-color 0s,
		box-shadow 0.1s ease-in-out;
}
.ontario-button--internalThemeDark:visited {
	color: #0066cc;
}
