@charset "utf-8";
/* 
	Author :: Elodie BAYET
	Origin :: Belgium, EU
	  Role :: Fullstack Web Developer
	  Date :: 2018.08 + 2022.03 + 2025.01
*/

/*
Part II : Components
	•• Generic
	•• Lists
	•• Elements
	•• Dedicated Content : .folio, .block
	•• Evolved System : form
*/


/*
	Generic
*/

/* Hide but read by screen readers */
.blind {
	font-size: .1rem !important; 
	line-height: .1rem !important;
	padding: 0 !important; 
	margin: 0 !important; 
	top: 0 !important; 
	left: -10000px !important;
	position: absolute !important;
}

/* Hide and not read by screen readers */
.hide {
	display: none !important;
}

/* Errors */
.nothing::before {
	content: "[!] -";
	font-weight: 700;
	letter-spacing: .15rem;
	padding-right: 6px;
}
.errnote {
	display: block;
}


/*
	Elements
*/

/* Classic Button shape */
.button {
	letter-spacing: .1rem;
	text-transform: uppercase;
	display: inline-block;
}
.button:not(.icon) {
	padding: 4px 12px 3px;
}
.button.icon {
	padding: 2px 12px 2px 2px;
}
a.button {
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 280px;
	overflow: hidden;
}
.button.icon span {
	vertical-align: baseline;
	margin-right: 7px;
	display: inline-block;
	width: 34px;
	padding-top: 2px;
	padding-bottom: 2px;
}


/*
	Dedicated Blocks
*/

/* Topics */
.topic {
	margin-bottom: 3.85%;
}
.topic > div {
	padding: 2.5% 3.75%;
	position: relative;
}
.topic > div a {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* Folios */
.folio figure {
	text-align: center;
}
.folio figure img {
	vertical-align: middle;
}
.folio figure figcaption {
	margin: 6px 0;
}


/*
	Evolved System
*/

/* Chrono Block */
.chrono {
	text-align: center;
	margin: 18px 0;
	padding: 8px 6px 6px;
}
.chrono p {
	font-family: 'Courier New', Courier, monospace;
	font-size: 4.8rem;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0;
}

/* Tasks Block */
.tasks li span {
	font-weight: 600;
	letter-spacing: .1rem;
	margin-left: 8px;
}
.tasks li button {
	margin-top: 0;
	margin-bottom: 0;
	float: right;
}

/* Form Block */
form > div + div {
	margin-top: 24px;
}
form label,
form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type=hidden]),
form select,
form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
}
form input[type="submit"], 
form input[type="reset"],
form input[type="button"] {
	margin: 3.75% 1.185% 0;
	padding: 4px 24px 6px;
	position: relative;
}
form div label:not(.toggle):not(.choice):first-child,
form legend {
	font-weight: 600;
}
form textarea,
form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type=hidden]) {
	padding: 8px 6px 6px;
}
form select {
	padding: 10px;
}
form label.box {
	margin: 0 36px 0 0;
	width: auto;
	display: inline-block;
}
form label.box:hover,
form label.slab:hover,
form label.choice:hover,
form label.toggle:hover {
	cursor: pointer;
}
form input[type="checkbox"],
form input[type="radio"] {
	margin-right: 6px;
	position: relative;
}
form .currency {
	position: relative;
}
form .currency span {
	font-size: 1.8rem;
	text-align: center;
	font-weight: bold;
	width: 32px;
	padding: 7px 0;
	position: absolute;
	right: 0;
	bottom: 0;
}
form .choice,
form .toggle {
	width: auto;
	min-width: 96px;
	margin: 1.875%;
	position: relative;
	padding: 8px 6px 6px 14px;
}
form .choice span, form .choice strong,
form .toggle span, form .toggle strong {
	display: block;
}
form .choice input,
form .toggle input {
	position: absolute;
	display: block;
	top: 0;
	left: -9999px;
	margin: 0;
}
form .value span {
	font-size: 1.4rem;
	line-height: 1.75;
	letter-spacing: .1rem;
	text-align: center;
	font-weight: bold;
	margin-top: 12px;
	padding: 6px 0;
	display: block;
	position: relative;
}

@media screen and (min-width:680px) and (max-width:879px) {
	#app:not(.flex) form .inline {
		width: 50%;
		min-width: 198px;
		display: inline-block;
		vertical-align: top;
		margin: 0 -1px;
	}
	#app:not(.flex) form div:nth-of-type(odd) {
		padding-right: 12px;
	}
	#app:not(.flex) form div:nth-of-type(even) {
		padding-left: 12px;
	}
	#app:not(.flex) form .inline input {
		margin-bottom: 0;
	}
}

@media screen and (min-width:880px) {
	form .inline {
		width: 50%;
		min-width: 198px;
		display: inline-block;
		vertical-align: top;
		margin: 0 -1px;
	}
	form .inline:nth-of-type(odd) {
		padding-right: 12px;
	}
	form .inline:nth-of-type(even) {
		padding-left: 12px;
	}
	form .inline input {
		margin-bottom: 0;
	}
}
