/**
 * Escapade utilities
 *
 * Replaces the full Bootstrap 4.4.1 stylesheet (159 KB), of which the site used
 * exactly nine classes. The declarations below are copied verbatim from
 * Bootstrap 4.4.1 so the rendering is unchanged; only vendor prefixes for
 * browsers that are no longer supported (-ms-flexbox, -ms-flex-pack,
 * -moz-user-select) were dropped.
 *
 * Classes in use, verified against every published page plus the theme
 * templates: btn, btn-primary, btn-outline-primary, d-none, d-flex, d-sm-block,
 * m-auto, justify-content-center, clearfix.
 *
 * The only other thing the Bootstrap stylesheet contributed was Reboot's
 * `body { text-align: left }`, which computes identically to the inherited
 * `start` in a left-to-right document. It is deliberately not carried over.
 *
 * Bootstrap is licensed MIT, Copyright 2011-2019 The Bootstrap Authors.
 * https://github.com/twbs/bootstrap/blob/v4.4.1/LICENSE
 *
 * @package Escapade
 * @since   1.1.4
 */

/* Buttons -------------------------------------------------------------- */

.btn {
	display: inline-block;
	font-weight: 400;
	color: #212529;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	background-color: transparent;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {

	.btn {
		transition: none;
	}
}

.btn:hover {
	color: #212529;
	text-decoration: none;
}

.btn.focus,
.btn:focus {
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.btn.disabled,
.btn:disabled {
	opacity: .65;
}

a.btn.disabled,
fieldset:disabled a.btn {
	pointer-events: none;
}

.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-primary:hover {
	color: #fff;
	background-color: #0069d9;
	border-color: #0062cc;
}

.btn-primary.focus,
.btn-primary:focus {
	color: #fff;
	background-color: #0069d9;
	border-color: #0062cc;
	box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5);
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
	color: #fff;
	background-color: #0062cc;
	border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
	box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5);
}

.btn-outline-primary {
	color: #007bff;
	border-color: #007bff;
}

.btn-outline-primary:hover {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-outline-primary.focus,
.btn-outline-primary:focus {
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
	color: #007bff;
	background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5);
}

/* Display utilities ---------------------------------------------------- */

.d-none {
	display: none !important;
}

.d-flex {
	display: flex !important;
}

@media (min-width: 576px) {

	.d-sm-block {
		display: block !important;
	}
}

/* Flex and spacing utilities ------------------------------------------- */

.justify-content-center {
	justify-content: center !important;
}

.m-auto {
	margin: auto !important;
}

/* Clearfix ------------------------------------------------------------- */

.clearfix::after {
	display: block;
	clear: both;
	content: "";
}

/* Print ---------------------------------------------------------------- */

@media print {

	a:not(.btn) {
		text-decoration: underline;
	}
}
