.wp-block-button.is-style-canvas-grey {
    background: #f5f5f5;
    color: #2D3B45;
    border: 1px solid;
    border-color: #C7CDD1;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    padding: 8px 14px;
    margin-bottom: 0;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    text-shadow: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.wp-block-button.is-style-canvas-grey .wp-block-button__link {
    background: transparent;
    color: #2D3B45;
    text-transform: none;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 400;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.wp-block-button.is-style-canvas-grey:hover,
.wp-block-button.is-style-canvas-grey .wp-block-button__link:hover,
.wp-block-button.is-style-canvas-grey:hover .wp-block-button__link {
    background: #e8e8e8;
    color: #2D3B45;
}

:root {
    --pathways-button-hover-bg-color: #013064;
}

/*
 * UBC Primary BG Button
 * A rectangular button with the UBC Primary Blue background,
 * capitalized text, padding. Hover state shifts bg colour to
 * be a lighter blue. Active/Focus state is handled by CLF.
 */
.wp-block-button.is-style-ubc-primary-bg {
    min-width: 220px;
    transition: color .2s ease, background-color .2s ease;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    height: 50px;
    line-height: 48px;
    text-decoration: none;
    position: relative;
    background-color: var(--color-ubc-primary);
    border-radius: 0;
    padding: 0;
    border: solid 2px;
}

.wp-block-button.is-style-ubc-primary-bg .wp-block-button__link {
    font-size: 0.95em;
    font-weight: 600;
    background: transparent;
    color: var(--color-ubc-white);
    border-radius: 0;
    height: 50px;
    padding: 0;
    width: 100%;
}

.wp-block-button.is-style-ubc-primary-bg:hover {
    background: var(--pathways-button-hover-bg-color);
    border-color: var(--pathways-button-hover-bg-color);
}

/**
 * UBC White BG Button
 * An outline style button, similar to the blue bg button
 * above, but with a white bg.
 */
.wp-block-button.is-style-ubc-white-bg {
    padding: 0;
    min-width: 220px;
    transition: color .2s ease, background-color .2s ease;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    height: 50px;
    line-height: 48px;
    text-decoration: none;
    position: relative;
    font-weight: 600;
    background-color: var(--color-ubc-white);
    color: var(--color-ubc-primary);
    border: solid 2px;
    background: 0 0 !important;
}

.wp-block-button.is-style-ubc-white-bg .wp-block-button__link {
    height: 50px;
    padding: 0;
    font-size: 0.95em;
    border-radius: 0;
    background: transparent;
    color: var(--color-ubc-primary);
    width: 100%;
}

.wp-block-button.is-style-ubc-white-bg:hover {
    color: var(--pathways-button-hover-bg-color);
    border-color: var(--pathways-button-hover-bg-color);
}

/**
 * UBC Secondary Blue Button
 * A rectangular white background button with the secondary blue border.
 */
.wp-block-button.is-style-ubc-secondary-blue {
	color: #0055B7;
	background: white;
	background-color: white;
	border: 1px solid #0055B7;
	transition: color .2s ease,
		background-color .2s ease;
	font-weight: normal;
	font-style: normal;
	text-rendering: optimizeLegibility;
}

.wp-block-button.is-style-ubc-secondary-blue:hover {
	color: #fff;
}

.wp-block-button.is-style-ubc-secondary-blue .wp-block-button__link {
	border: 1px solid #0055B7;
	font-size: 1.1em;
	border-radius: 0px;
	background: white;
	color: #0055B7;
}

.wp-block-button.is-style-ubc-secondary-blue .wp-block-button__link:hover {
	background-color: #0055B7;
	color: white;
}
