/*
*	Canvas page elements style declarations
*/

/*	Animations	*/

@keyframes fadeIn {

	from {
		opacity: 0.0;
	}

	to {
		opacity: 1.0;
	}

}

/*	Body	*/

body {
	margin: 2rem;
	font-size: 1rem !important;
	font-weight: 400;
	font-optical-sizing: auto;
	font-style: normal;
}

/*	Colors	*/

:root {
	--brandPurple: #400286;
	--bs-primary-rgb: 64, 2, 134 !important;
	--darkPurple: #2A0157;
	--lightPurple: #CFC0E1;
	--extraLightPurple: #F2EEF7;
	--grey: #4B5058;
	--lightGrey: #D9DAE4;
	--extraLightGrey: #F0F0F4;
	--darkGrey: #101921;
	--brandGreen: #48A345;
	--bs-secondary-rgb: 72, 163, 69 !important;
	--darkGreen: #367A34;
	--lightGreen: #D1E8D1;
	--extraLightGreen: #EEF6EE;
	--blue: #009DEA;
	--darkBlue: #0076B0;
	--lightBlue: #BFE7FA;
	--red: #EE2737;
	--orange: #FC4D0F;
	--yellow: #FFB500;
}

.purple {
	color: var(--darkPurple);
}

.green {
	color: var(--darkGreen);
}

.blue {
	color: var(--darkBlue);
}

.grey {
	color: var(--darkGrey);
}

.red {
	color: var(--red);
}

/*	Fonts	*/

.Montserrat {
	font-family: "Montserrat", sans-serif !important;
}

.Bitter {
	font-family: "Bitter", serif !important;
}

.boldText {
	font-weight: 600 !important;
}

.extraBoldText {
	font-weight: 800 !important;
}

.italicText {
	font-style: italic !important;
}

/*	Page sections	*/

section {
	padding: 2rem;
	border-width: 0.5px 0;
	border-style: solid;
}

section:first-child {
	border-top-width: 0;
}

section:last-child {
	border-bottom-width: 0;
}

div.purpleTheme section:nth-child(even) {
	background-color: var(--extraLightPurple);
	border-color: var(--brandPurple);
}

div.greenTheme section:nth-child(even) {
	background-color: var(--extraLightGreen);
	border-color: var(--brandGreen);
}

div.greyTheme section:nth-child(even) {
	background-color: var(--extraLightGrey);
	border-color: var(--grey);
}

/*	Headings	*/

h2,
h3 {
	margin-top: 2.5rem;
	margin-bottom: 1.25rem;
}

h2:first-child,
h3:first-child {
	margin-top: 0;
}

h2 {
	line-height: 2rem;
	font-size: 1.5rem;
}

h3 {
	line-height: 1.875rem;
	font-size: 1.25rem;
}

/*	Paragraphs	*/

p {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

p:first-child {
	margin-top: 0;
}

p:last-child {
	margin-bottom: 0;
}

/*	Style overrides	*/

div.clear {
	height: 0;
	clear: both;
}

.removeMarginTop {
	margin-top: 0 !important;
}

.removeMarginBottom {
	margin-bottom: 0 !important;
}

.removePaddingTop {
	padding-top: 0 !important;
}

.removePaddingBottom {
	padding-bottom: 0 !important;
}

/*	Lists	*/

ul,
ol {
	margin: 0 0 0.625rem 1.5rem !important;
	margin-block-start: 0;
	margin-block-end: 0;
	padding-inline-start: 0;
}

/*	Hyperlinks	*/

a:not(.btn) {
	color: var(--darkBlue) !important;
}

/*	Buttons	*/

.btn {
	font-weight: 600 !important;
}

.btn-primary {
	background-color: var(--brandPurple) !important;
	border-color: var(--darkPurple) !important;
}

.btn-secondary,
.btn-success {
	background-color: var(--brandGreen) !important;
	border-color: var(--darkGreen) !important;
}

/*	Form fields	*/

.conditionalElement {
	display: none;
}

/*	Loader	*/

div#loader {
	display: none; /*	Hide by default	*/
}

/* Table section */

table {
	box-shadow: 0 0 4px 2px rgba( 0, 0, 0, 0.15 );
}

table caption {
	display: none;
	padding-bottom: 0.625rem;
	font-weight: 600;
}

.table-dark {
	--bs-table-bg: var(--brandPurple) !important;
}

table thead tr th,
table tbody tr th {
	font-weight: 600;
}

table tfoot tr td {
	background-color: var(--extraLightGrey) !important;
}

/*	Cards	*/

div.card {
	box-shadow: 0 0 4px 2px rgba( 0, 0, 0, 0.15 );
}

/*	Footer	*/

div.footer {
	padding: 0.625rem;
	background-color: var(--extraLightGrey);
	border: 1px solid var(--grey);
	box-shadow: 0 0 4px 2px rgba( 0, 0, 0, 0.15 );
}

/*
*	Responsive design declarations
*/

/*	Extra-small (e.g., phones), small (e.g., portrait tablets, large phones), and medium (e.g., landscape tablets) devices	*/

@media only screen and ( max-width: 991px ) {

	/*	Headings	*/

	h2 {
		line-height: 1.5rem;
		font-size: 1.25rem;
	}

	h3 {
		line-height: 1.25rem;
		font-size: 1rem;
	}

	/*	Buttons	*/

	div.buttons {
		flex-direction: column;
	}

	div.buttons a.button.smallButton {
		width: calc( 100% - 4.375rem ) !important;
	}

	div.buttons a.button.mediumButton {
		width: calc( 100% - 5rem ) !important;
	}

	div.buttons a.button.largeButton {
		width: calc( 100% - 5.625rem ) !important;
	}

	/*	Table section	*/

	div.tableContainer {
		overflow-x: scroll;
	}

	div.tableContainer table {
		width: 100%;
	}

	div.tableContainer table thead tr th {
		width: 50vw !important;
	}

}

/*	Large devices (e.g., standard-size laptops, desktops)	*/

@media only screen and ( min-width: 992px ) and ( max-width: 1199px ) {

	/*	Headings	*/

	h2 {
		line-height: 2rem;
		font-size: 1.5rem;
	}

	h3 {
		line-height: 1.5rem;
		font-size: 1rem;
	}

}