@import url("./nav.css");
@import url("./views.css");
@import url("./getting-started.css");
@import url("./project-header.css");

body,
html {
	padding: 0;
	margin: 0;
	width: 100vw;
	height: 100vh;
	font-size: 13px;
	background-color: #22262f;
}

p {
	opacity: 0.75;
	line-height: 1.7em;
}

h2 {
	margin: 0;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

*,
*::after,
*::before {
	user-select: none;
	-webkit-user-drag: none;
	-webkit-app-region: no-drag;
	cursor: default;
}

button {
	border-radius: 3px;
	font-family: OpenSans;
	font-weight: 600;
	padding: 0.5em 1em;
	background-color: transparent;
	border: 0 solid transparent;
	color: #fff;
	font-size: 0.9rem;
	transition: all 0.2s ease-in;
	cursor: pointer;
}

.tile-type-button {
	width: 13.6em;
	height: 8.5em;
	flex-grow: 0;
	flex-shrink: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 1.3em;
	margin: 0.5em;
	background-color: #373b43;
	border-radius: 0.5em;
	font-size: 1.1em;
	transition: all 0.25s;
	border: 2px solid transparent;
}

.tile-type-button:hover {
	border-color: #36788b;
}

button[type="submit"] {
	background-color: #42a5ba;
}

fieldset {
	padding: 0;
	margin: 0;
	border: 0;
}

legend {
	margin: 0;
	padding: 0;
}

input[type="text"] {
	border: 0 transparent solid;
	border-bottom: 2px solid transparent;
}

textarea {
	padding: 1em 0;
	border: 0;
	border-bottom: 2px transparent solid;
	cursor: text;
}

input[type="text"],
textarea {
	font-family: OpenSans;
	font-size: 0.9em;
	height: 2.9em;
	padding-left: 0.5em;
	color: #fff;
	border-bottom: 2px solid #3d4455;
	background-color: #22262f;
	transition: all 0.2s ease-in;
	cursor: text;
}

input[type="text"]:focus,
textarea:focus {
	outline: none;
	border-color: #42a5ba;
}

input[type="text"][aria-invalid="true"] {
	border-bottom: 2px solid #f26666;
}

.invalid-message {
	font-size: 10px;
	color: #f26666;
	display: block;
}

#smartDesktopDesigner {
	position: relative;
	height: 100%;
	width: 100%;
}

.config-container {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.project-container {
	display: flex;
	flex-grow: 1;
	max-height: 100%;
	overflow: auto;
}

/* width: 8px, per @DanNicolai */

::-webkit-scrollbar {
	width: 12px;
}

/* Track */

::-webkit-scrollbar-track {
	background: none;
}

/* Handle */

::-webkit-scrollbar-thumb {
	background: #f1f1f1;
	border-radius: 6px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
	background: #555;
}

input[type="file"] {
	font-family: OpenSans;
	font-size: 1em;
	font-weight: 600;
}
