@import url(variables.css);
@import url(utils.css);
@import url(elements.css);

* {
	scroll-behavior: smooth;
	font-family: Georama;
}

*::-webkit-scrollbar {
	width: 8px;
}

*::-webkit-scrollbar-thumb {
	background-color: var(--inpact-light);
	border-radius: 99px;
}

body,
html {
	height: 100%;
}

.option-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 1em;
	gap: 4px;
	transition: opacity .4s ease;
}

.option {
	flex: 1;
}

#start {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#start main {
	padding-top: 60px;
	padding-bottom: 100px;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 600px;
	transition: padding .2s ease;
}

#start main .logo {
	margin-bottom: 80px;
	width: 300px;
	transition: width .2s ease, margin .2s ease;
}

#start main .selection {
	width: 100%;
	background-color: white;
	border-radius: var(--inpact-border-radius);
}

#start main .selection .select-header {
	font-weight: 600;
	font-size: 14px;
}

#start main .selection label {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#start main .selection label i {
	float: right;
}

#start main .select-and-start {
	display: flex;
	gap: 1em;
}

#start main .selection .select-discipline {
	flex: 1;
}

#start main .selection .start-btn {
	align-self: center;
	height: 100%;
}

#start main .btn-close-stored {
	font-size: 40px;
	display: none;
	width: 100%;
	transition: background .2s ease;
}

#start main .btn-close-stored:hover {
	background-color: #ededed;
}

#start main .btn-close-stored:active {
	background-color: transparent;
	border-color: transparent;
}

#start main .btn-show-stored {
	align-self: flex-start;
	transition: background .2s ease;
	cursor: pointer;
	background-color: var(--inpact-light);
	border-radius: var(--inpact-border-radius);
	font-size: 14px;
	font-weight: 500;
	/* -webkit-box-shadow: 0px 7px 10px -5px #0005;
    -moz-box-shadow: 0px 7px 10px -5px #0005;
    box-shadow: 0px 7px 10px -5px #0005; */
}
#start main .btn-show-stored:hover {
	background-color: #ccc;
}
#start main .stored-qty {
	background-color: #0006;
	padding: 4px 8px 5px 8px;
	border-radius: 8px;
	color: white;
	font-weight: 600;
	font-size: 0.9em;
}

#start main .stored {
	display: none;
	border-radius: var(--inpact-border-radius);
	background-color: white;
	width: 100%;
	overflow-y: auto;
	padding-bottom: 10px;
}

#start main .stored-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: var(--inpact-border-radius);
	font-weight: 600;
	font-size: 14px;
}

#start main .stored-data {
	max-height: 253px;
	overflow-y: auto;
}

#start main .stored-data .no-data {
	display: none;
	text-align: center;
	border-top: var(--border);
	color: #777;
	font-size: 14px;
}

#start main .stored-data table {
	display: none;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
	border-collapse: separate;
	padding: 0 10px;
}

#start main .stored-data table a {
	display: inline-block;
	padding: 12px 0;
	width: 100%;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

#start main .stored-data table td {
	font-size: 14px;
	padding: 0;
}

#start main .stored-data thead th {
	font-weight: normal;
	font-size: 12px;
	border-top: var(--border);
	border-bottom: var(--border);
	/* padding: 10px 0; */
	position: sticky;
	top: 0;
	background-color: white;
}

#start main .stored-data table a:first-child,
#start main .stored-data table td.entry-actions,
#start main .stored-data table td:nth-child(2),
#start main .stored-data table td:nth-child(3) {
	background-color: var(--inpact-lighter);
}

#start main .stored-data thead th:first-child {
	padding-left: 1rem;
}
#start main .stored-data thead th:last-child {
	padding-right: 1.5rem;
}

#start main .stored-data tbody td:first-child a {
	padding-left: 1rem;
	padding-right: 1rem;
	border-top-left-radius: var(--inpact-border-radius);
	border-bottom-left-radius: var(--inpact-border-radius);
}
#start main .stored-data tbody td:last-child {
	padding-right: 1rem;
	border-top-right-radius: var(--inpact-border-radius);
	border-bottom-right-radius: var(--inpact-border-radius);
}

#start main .stored-data tbody tr {
	transition: background .2s ease;
}

#start main .stored-data td:last-child i {
	float: right;
}

#start main .stored-data .entry-createdAt,
#start main .stored-data .entry-updatedAt {
	font-size: 12px;
}

#start main .stored-data .entry-actions > i {
	cursor: pointer;
}

header {
	width: 100%;
	height: var(--inpact-header-h);
	padding: 20px;
	display: flex;
	align-items: center;
}

#start header {
	justify-content: flex-end;
}

#app header {
	justify-content: space-between;
}

#start .supporters {
	display: flex;
	padding-bottom: 100px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
	opacity: .6;
}

#start .supporters .logo-nau,
#start .supporters .logo-minist,
#start .supporters .logo-ufmg {
	height: 50px;
}
#start .supporters .logo-ufrgs,
#start .supporters .logo-pucsp,
#start .supporters .logo-gsu {
	height: 70px;
}
#start .supporters .logo-cnpq {
	height: 30px;
}

.helper-links {
	font-weight: 500;
	font-size: 14px;
	display: inline-block;
}

.helper-links ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	gap: 1em;
}

.helper-links ul > li a {
	text-decoration: none;
	color: black;
	padding: .5em 1em;
	display: inline-block;
}

.helper-links ul > li a::after {
	content: '';
	height: 3px;
	width: 0;
	display: block;
	margin-top: 3px;
	transition: width .15s ease;
	background-color: var(--inpact-pink);
}

.helper-links ul > li a:hover::after {
	width: 100%;
}

#app {
	display: flex;
	height: 100%;
	flex-direction: column;
}

#app main {
	display: flex;
}

.area-title {
	height: var(--area-title-h);
	font-size: 14px;
	padding: 16px;
	border-bottom: var(--inpact-border);
	font-weight: 500;
	text-transform: uppercase;
}

#inputs .area-title {
	position: fixed;
	width: 100%;
}

#content {
	position: relative;
	flex: 1;
	height: 100%;
	/*   height: 0; */
	padding: 0 1em 1em 0;
}
#content > .wrapper {
	background-color: white;
	border-radius: var(--inpact-border-radius);
	overflow: hidden;
}

.display {
	border-right: var(--border)
}

#inputs {
	overflow-y: auto;
	overflow-x: visible !important;
	height: calc(100vh - var(--inpact-header-h) - var(--area-title-h) - 1em);
	/*   height: 100%; */
	/* padding: 0 0 30px 24px; */
}

#inputs section {
	padding-top: 20px;
}

#inputs section .title {
	font-weight: 700;
	margin-bottom: 0px;
}

#inputs section .title .fa-info-circle {
	font-size: 16px;
	float: right;
	margin-right: 10px;
	color: var(--inpact-blue)
}

#inputs section .subtitle {
	font-size: 14px;
	margin-bottom: 1em;
}

#inputs section .step:last-child {
	margin-bottom: 1.25em;
}

#inputs section .question {
	margin-top: .5em;
	/* margin-left: -24px; */
	/* margin-right: -24px; */
	font-size: 16px;
	font-weight: 600;
	padding-top: 16px;
	border-top: var(--border);
	border-bottom: var(--border);
}

#inputs section .question-subtitle {
	font-size: 14px;
	margin-bottom: 1em;
	margin-bottom: 1.25em;
}

#inputs section .example {
	display: none;
	font-size: 0.75em;
	/* margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: 1px dashed #bbb; */
}

.examples-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: white;
	z-index: 2;
	display: none;
}


.examples-overlay .area-title span {
	font-weight: 500;
}

.examples {
	padding: 16px;
}

.examples .section-title {
	font-size: 12px;
	text-transform: uppercase;
}

.examples .example-title {
	font-size: 18px;
	font-weight: 700;
}

.examples .example {
	font-size: 14px;
}

.examples .no-data {
	color: #777;
	font-size: 14px;
}

.lexbundle-highlight {
	color: var(--inpact-pink);
}

#preview {
	border-left: var(--inpact-border);
}

#workspace {
	background: #ededed;
	height: calc(100vh - var(--inpact-header-h) - var(--area-title-h) - 1em);
	position: relative;
}

#workspace .save-warning {
	font-size: 12px;
	background-color: var(--inpact-light);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	padding: 12px 14px;
	position: absolute;
	bottom: 0;
	width: 100%;
}

#workspace .save-warning .buttons {
	line-height: normal;
}

#workspace .save-warning .buttons span {
	margin-left: 8px;
	cursor: pointer;
	font-size: 14px;
	display: inline-block;
}
#workspace .save-warning .buttons span:first-child {
	color: var(--inpact-blue);
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 3px;
}

.side-menu {
	width: 160px;
	background: #ededed;
	/* height: calc(100% - var(--inpact-header-h)); */
	height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	transition: opacity .2s ease;
/* 
	-webkit-box-shadow: var(--shadow);
	-moz-box-shadow: var(--shadow);
	box-shadow: var(--shadow); */
}

.side-menu .logo {
	height: 50px;
	margin: 16px 0 40px 24px;
}

.side-menu .supporters {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 1.5em;
	width: 100%;
	align-self: end;
	padding-bottom: 1em;
}

.side-menu .supporters .logo-cnpq {
	width: 60%;
	opacity: .5;
}

.side-menu .supporters .logo-minist {
	width: 65%;
	opacity: .8;
}

.side-menu .item {
	position: relative;
	cursor: pointer;
	list-style-type: none;
	font-size: 14px;
}

.side-menu .item.active {
	background: #ddd;
	z-index: 0;
}

.side-menu .item a {
	color: var(--inpact-dark);
	padding: 16px;
	margin: 0 16px;
	text-decoration: none;
	display: block;
	position: relative;
	z-index: 1;
	border-bottom: var(--border);
	font-weight: 500;
	border-bottom: var(--inpact-border);
}

.side-menu .item a:hover {
	opacity: .7;
}

.side-menu .item.secondary a {
	color: #bbb !important;
	padding: 12px 16px 12px 24px;
}

.side-menu .item.active a {
	color: var(--dark);
	font-weight: bold;
	cursor: default;
}


#transition-overlay {
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	width: 100%;
	background-color: var(--inpact-lighter);
	z-index: 9999; /*2147483648*/
	display: flex;
	align-items: center;
	justify-content: center;
}

#transition-overlay .logo {
	position: relative;
}

#transition-overlay .loading {
	height: 6px;
	background-color: var(--inpact-light);
	margin-top: 2em;
	width: 100%;
}

#transition-overlay .loading .bar {
	background-color: var(--inpact-blue);
	height: 6px;
	width: 0;
	transition: width 1s ease-in-out;
}

#transition-overlay .loading.loaded .bar {
	width: 98%;
}

#transition-overlay .loading.disabled .bar {
	display: none;
}

