/* **************************************************************************************************** */
/* HTML 5
/* **************************************************************************************************** */
html{
	scroll-behavior: smooth;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, tt, var,
center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
}
ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* **************************************************************************************************** */
/* INITIALISATION */
/* **************************************************************************************************** */

a { color:inherit; text-decoration:none }
a:visited {}
a:hover { text-decoration:underline; }
blockquote { font-style: italic;font-family: Georgia, Times, "Times New Roman", serif;padding: 2px 0;border-style: solid;border-color: #ccc;border-width: 0;border-left-width: 5px;padding-left: 20px; }

b , strong { font-weight:bold; }
i , em { font-style:italic; }
p { text-align:justify; }
u { text-decoration:underline; }
ol {list-style-position: inside}

/* **************************************************************************************************** */
/* ANIMATIONS */
/* **************************************************************************************************** */

.anim , .anim:hover , .anim.active {
	transition:all 0.2s ease;
	-webkit-transition:all 0.2s ease;
	-moz-transition:all 0.2s ease;
}

/* **************************************************************************************************** */
/* BUTTONS */
/* **************************************************************************************************** */
.button-container {
	text-align: center;
	margin-top: 3.75rem;
}

.button {
	display: inline-block;
	font-family: var(--font-regular);
	font-size: 20px;
	text-align: center;
	cursor: pointer;
	padding: 0.5rem 4.425rem;
	color: #fff;
	background-color: var(--color-first-1);
	border: 2px solid var(--color-first-1);
	border-radius: 10px;
	transition: all 0.4s ease;
	min-width: max-content;
}

.button:hover {
	color: var(--color-first-1);
	background-color: transparent;
	text-decoration: none;
}


/********Styles*********/

/*Outline*/
.button.-outline {
	color: var(--color-first-1);
	background-color: transparent;
}

.button.-outline:hover {
	color: var(--color-first-2);
	border: 2px solid var(--color-first-2);
}

/*Warning*/
.button.-warning {
	background-color: var(--color-second-1);
	border: 2px solid var(--color-second-1);
}

.button.-warning:hover {
	background-color: transparent;
	color: var(--color-second-1);
}

/*Dark*/
.button.-dark {
	background-color: #333;
	border: 2px solid #333;
}

.button.-dark:hover {
	background-color: #000;
	border: 2px solid #000;
}

/*********Sizes**********/
.button.-small {
	padding: 0.5rem 2rem;
	font-size: 14px;
}


/********Media Queries*********/

@media screen and (max-width: 767px) {
	.button {
		font-size: 16px;
		padding: 0.5rem 1rem;
	}
}

@media screen and (max-width: 550px) {
	.button {
		font-size: 14px;
	}
}

/* **************************************************************************************************** */
/* LINKS */
/* **************************************************************************************************** */
.link-group > .link:not(:last-child) {
	margin-right: 1rem;
}

/*Danger*/
.link.-danger {
	font-family: var(--font-semi);
	font-size: 14px;
	color: var(--color-second-1);
	position: relative;
}

.link.-danger:hover {
	color: var(--color-second-1);
}

.link.-danger::after {
	content: '';
	display: block;
	width: 0;
	height: 1px;
	background-color: var(--color-second-1);
	position: absolute;
	bottom: 0;
	left: 56%;
	transform: translateX(-50%);
	transition: all .4s ease;
}

.link.-danger:hover::after {
	width: 80%;
}

.link.-danger::before {
	content: var(--icon-danger);
	position: relative;
	top: 4px;
	right: 6px;
}

/*Success*/
.link.-success {
	font-family: var(--font-semi);
	font-size: 14px;
	color: var(--color-first-1);
	position: relative;
	text-transform: uppercase;
}

.link.-success {
	color: var(--color-first-1);
}

.link.-success::after {
	content: '';
	display: block;
	width: 0;
	height: 1px;
	background-color: var(--color-first-1);
	position: absolute;
	bottom: 0;
	left: 63%;
	transform: translateX(-50%);
	transition: all .4s ease;
}

.link.-success:hover::after {
	width: 80%;
}

.link.-success::before {
	content: var(--icon-success);
	position: relative;
	top: 4px;
	right: 6px;
}

/* **************************************************************************************************** */
/* CARDS */
/* **************************************************************************************************** */

.card {
	position: relative;
	text-align: center;
	box-shadow: 0 0 20px #0000001A;
	border-radius: 10px;
	width: 100%;
	padding: 2.125rem 1.875rem;
}

.card-label {
	position: absolute;
	top: 0;
	left: 0;
	height: 80px;
	width: 80px;
	clip-path: polygon(100% 0, 0 0, 0 100%);
	border-top-left-radius: 10px;
	background-color: var(--color-first-2);
}

.card-label__text {
	position: absolute;
	left: 5px;
	top: 25px;
	text-align: center;
	font-family: var(--font-medium);
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.card-label.-danger {
	background-color: #FF573380;
}

.card-label.-waiting {
	background-color: #33333366;
}

.card-label.-danger::before {
	content: var(--icon-danger);
}

.card-label.-success::before {
	content: var(--icon-success);
}

.card-label.-waiting::before {
	content: var(--icon-waiting);
}

.card-label.-success::before,
.card-label.-waiting::before,
.card-label.-danger::before {
	position: absolute;
	top: 18px;
	left: 18px;
}

.card-sub-content {
	margin-top: 1.875rem;
}

.card__title {
	text-align: center;
	font-family: var(--font-semi);
	font-size: 14px;
	color: #000;
	margin-top: 0.328rem;
	line-height: 18px;
}

.card__title.-large {
	font-size: 25px;
	line-height: 27px;
}

.card-sub-content .card__title {
	margin-top: 0;
	margin-bottom: 1rem;
}

.card__tooltip {
	position: relative;
	font-family: "Mst ExtraBold", serif;
	font-size: 12px;
	color: #000;
	cursor: help;

	background-color: #bcbcbc;
	border-radius: 50px;
	width: 15px;
	height: 15px;
	line-height: 15px;
	margin: 0.625rem auto;
}

.card__tooltip:hover .tooltip {
	visibility: visible;
}

.card__text {
	text-align: center;
	font-family: var(--font-regular);
	font-size: 14px;
	color: #000;
	line-height: 18px;
}

.card__text.-small {
	font-size: 10px;
}

/********Styles*********/

/*Outline*/
.card.-outline {
	box-shadow: none;
	border: 1px solid #000
}


/*Warning*/
.card.-warning {
	box-shadow: none;
	border: 1px solid var(--color-second-1)
}

.card.-warning .card__title,
.card.-warning .card__text {
	color: var(--color-second-1);
}


/*Active*/
.card.-active {
	box-shadow: none !important;
	border: 4px solid var(--color-first-1) !important;
}

/*flex*/
.card.-flex {
	display: flex;
	padding: 1.875rem 1rem;
	gap: 1rem;
}

.card-left {
	max-width: calc(30% - 1rem);
	flex: 0 0 calc(30% - 1rem);
}

.card-left .link,
.card-left .button {
	margin-top: 1.25rem;
}

.card-right {
	max-width: calc(70% - 1rem);
	flex: 0 0 calc(70% - 1rem);
}

.card-right .card__title {
	margin-bottom: 1rem;
}

.card-right .card__title,
.card-right .card__text {
	text-align: start;
}

.card.-no-shadow {
	box-shadow: none;
}

/********Media Queries*********/

@media screen and (max-width: 981px) {
	.card__text {
		font-size: 12px;
	}
}

@media screen and (max-width: 650px) {
	.card.-flex {
		flex-direction: column;
	}

	.card-left,
	.card-right {
		max-width: none;
		flex: none;
	}

	.card-right .card__title,
	.card-right .card__text {
		text-align: center;
	}
}

@media screen and (max-width: 550px) {
	.card {
		padding: 1.25rem;
	}
}

/* **************************************************************************************************** */
/* TOOLTIPS */
/* **************************************************************************************************** */
.tooltip {
	position: absolute;
	top: 170%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;

	visibility: hidden;
	width: 260px;
	background-color: #bcbcbc;
	padding: 10px;
	border-radius: 6px;

	font-family: var(--font-regular);
	font-size: 14px;
	line-height: 18px;
	text-align: center;
}

.tooltip:after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 10px solid #bcbcbc;
	border-color: transparent transparent #bcbcbc transparent;
}


/* **************************************************************************************************** */
/* FORM */
/* **************************************************************************************************** */

.form__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.form__item {
	flex: 1 1 100px;
}

.form__item--half {
	flex: 1 1 calc(50% - 1rem);
}

.form__item--third {
	flex: 1 1 calc(33.33% - 2rem);
}

.form__item--full {
	flex: 1 1 100%;
}

.form__btn--center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 550px) {
	.form__list {
		flex-direction: column;
	}

	.form__item {
		flex: 1 1 100%;
	}
}

