/* Sidebar button that opens the TRMNL modal */
.trmnl-open-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 16px;
	background-color: #2D89EF;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 13px;
	line-height: 1.446153846;
	text-align: center;
	cursor: pointer;
}
.trmnl-open-btn:hover,
.trmnl-open-btn:focus {
	background-color: #1b6fd1;
	color: #fff;
}

/* Modal */
.trmnl-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100002;
}
.trmnl-modal.is-open {
	display: block;
}
.trmnl-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}
.trmnl-modal__dialog {
	position: relative;
	width: 92%;
	max-width: 900px;
	height: 80vh;
	margin: 5vh auto;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.trmnl-modal__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 1;
}
.trmnl-modal__close:hover {
	background: rgba(0, 0, 0, 0.12);
}
.trmnl-modal__body {
	flex: 1;
}
.trmnl-modal__iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
body.trmnl-modal-open {
	overflow: hidden;
}
