:root {
	--top-height: 63px;
}

html,
body {
	height: 100%;
}

body {
	font-size: 0.875rem;
}

li {
	display: inline-block;
}

button {
	min-width: 6.25rem;
}

.hidden {
	display: none;
}

/* body {
    text-align: center;
    color: black;
    padding: 0px;
    margin: 0 auto;
    height: 100vh;
    background-color: #f7f7ff;
} */

#main {
	height: calc(100% - var(--top-height));
	display: flex;
	flex-direction: column;
}

#log-main {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#comm-logs {
	overflow-y: scroll;
	white-space: pre-wrap;
	word-break: break-all;
	text-align: left;
}

#comm-options,
#comm-tools {
	position: relative;
}

#comm-tools {
	height: 100%;
}

.toggle-button {
	align-items: center;
	background: none;
	border: 0;
	display: flex;
	flex: none;
	font-size: 20px;
	height: 100%;
	justify-content: center;
	width: 20px;
	z-index: 1;
	background-color: #f8f9fa;
}

.toggle-button:hover {
	background: rgba(228, 231, 242, 0.4);
}

#nav-tabContent {
	overflow: hidden;
}

#card-quick-send.show {
	height: 100%;
	display: flex;
	flex-direction: column;
}

#serial-tools .collapse.show,
#nav-quick-send.show {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.div {
	height: calc(100% - 4rem);
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 2rem 1fr;
	row-gap: 1rem;
	column-gap: 1rem;
}

.div-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 2rem 1fr;
	row-gap: 1rem;
	column-gap: 1rem;
}

.head {
	height: 2rem;
	padding: 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 2rem 1fr;
	row-gap: 1rem;
	column-gap: 1rem;
}

.basicContent {
	height: calc(60%);
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 2rem 1fr;
	row-gap: 1rem;
	column-gap: 2rem;
}

.foot {
	height: calc(20%);
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 1rem;
	column-gap: 1rem;
}

textarea {
	resize: none;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 1rem;
}