.disablerow {
	pointer-events: none;
	opacity: 0.5;
	color: #888;
}

.ewarning {
	color: rgb(235,220,105);
	background-color: black;
}

.eimminent {
	color: rgb(205,119,27);
}

.ecritical {
	color: rgb(197,15,15);
}

.eoverdue {
	color: rgb(157,12,12);
	animation: blinker 0.5s step-start infinite;
}

@keyframes blinker {
	50% {
		opacity: 0.25;
	}
}

.simmodid {
	width: 30px;
}
.simmodgateway {
	width: 100px;
}
.simmodserial {
	width: 175px;
}
.simmodact {
	width: 90px;
}
.simmodmvno {
	width: 90px;
}
.simmodregion {
	width: 80px;
}
.simmodinfo {
	width: 70px;
}
.simmodband {
	width: 80px;
}
.simmodstat {
	width: 70px;
}

.simmodalpopup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border: 1px solid #ccc;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	z-index: 1001;
}

.simmodalcontent {
	max-height: 80vh;
	overflow-y: auto;
}

.simrow {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.simfield {
	/* flex: 1; */
	padding: 5px;
}

.siminfo {
	display: block;
}

.newsim {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	border: 1px solid #ccc;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	z-index: 1002;
}

.subscriprow {
	width: 960px;
	left: 5px;
}

.subnotespre {
	font-size: 12px;
	margin: 0px;
	text-wrap: auto;
}

.subscriptionmessage {
	position: fixed;
	border-radius: 8px;
	z-index: 5000;
	background-color: rgba(135, 175, 205, 1);
	box-shadow: 0px 6px 12px 0px rgba(75, 75, 120, 1);
	overflow-x: auto;
	max-width: 400px;
	padding-left: 8px;
	padding-right: 8px;
	left: 300px;
	top: 20px;
	font-size: 22px;
}

.stale {
	background-color: rgba(180,180,180,1) !important;
}

@media screen and (max-width: 800px) {
	.subscriptionmessage {
		left: 10px;
		font-size: 16px;
	}
}

.subalert {
	height: 50px;
	animation: bounceIn 2s infinite 2s;
	cursor: pointer;
}
.subscriptionmessage.stale .subalert {
	animation: unset;
}

.newsub {
	position: absolute;
	display: inline-block;
	background-color: rgba(220,230,240,1);
	top: clamp(0px, calc(50vh - 410px), 100px);
	left: min(50px, 20vw);
	border-radius: 5px;
	border: 1px solid black;
	box-shadow: 5px 5px 5px #333;
	width: 570px;
	height: 850px;
	padding: 8px;
	font-size: 20px;
}
.newsub tr {
	line-height: 1.2;
}
.newsub button {
	font-size: 22px;
}

.subaccountdiv {
	position: relative;
	display: inline-block;
	background-color: rgba(240,240,200,1);
	margin: 5px;
	border-radius: 3px;
	border: 1px solid black;
	font-size: 20px;
}

.subsubhdrrow {
	background-color: rgba(180,200,110,1);
	padding: 5px;
}

.subaccountside {
	position: relative;
	display: inline-block;
	background-color: rgba(170,220,220,1);
	width: 400px;
	vertical-align: top;
	padding: 8px;
}

.subsubside {
	position: relative;
	display:inline-block;
	background-color: rgba(220,240,150,1);
	width: 970px;
	left: 0px;
	vertical-align: top;
	padding: 8px;
	font-size: 16px;
}

.subaccountnametitle {
	font-size: 28px;
	text-decoration: underline;
}

.subacctinfolbl {
	margin-left: 10px;
	width: 140px;
	font-style: italic;
	display: inline-block;
	margin-top: 6px;
}

.subacctinfo {
	display: inline-block;
	width: 250px;
	margin-top: 6px;
	overflow-wrap: anywhere;
}

.subownerssect {
	position: relative;
	display: inline-block;
	width: 250px;
	vertical-align: top;
}

.subsubinfohdrlbl {
	font-style: italic;
	margin-left: 8px;
	display: inline-block;
}

.subsubside div {
	display: inline-block;
	position: relative;
	margin-bottom: 10px;
	vertical-align: top;
}

.subsubinfo {
	margin-bottom: 8px;
}

.subsubsub {
	margin-left: 8px;
}

.subedit {
	cursor: pointer;
}

.subsid {
	width: 40px;
}
.subspaid {
	width: 50px;
}
.subsrenew {
	width: 55px;
}
.subsstart {
	width: 100px;
}
.subsend {
	width: 100px;
}
.subsperiod {
	width: 60px;
}
.subsext {
	width: 55px;
}
.subsstatus {
	width: 70px;
}
.subsexp {
	width: 100px;
}
.subsnotes {
	width: 135px;
}
.subsact {
	width: 105px;
}


.subsubidrow {
	margin-left: 10px;
	width: 40px;
}
.subsubpaidrow {
	width: 50px;
}
.subsubrenewrow {
	width: 55px;
}
.subsubstartrow {
	width: 100px;
}
.subsubexpirerow {
	width: 100px;
}
.subsubperiodrow {
	width: 60px;
}
.subsubextensrow {
	width: 55px;
}
.subsubstatusrow {
	width: 70px;
}
.subsubfinalrow {
	width: 100px;
}
.subsubnotesrow {
	width: 135px;
}
.subsubbuttonsrow {
	width: 105px;
}

.subsubbuttonsrow button {
	margin-right: 5px;
}

#subsearch {
	margin: 5px;
}

.highlight {
	background-color: yellow;
	font-weight: bold;
}

.sim-edit-overlay {
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 5px;
	z-index: 31003;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

.sim-edit-overlay input {
	border: none;
	outline: none;
	font-size: inherit;
	width: 100%;
}

.edit-overlay {
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 5px;
	z-index: 1000;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

.edit-overlay input {
	border: none;
	outline: none;
	font-size: inherit;
	width: 100%;
}

.edit-overlay-notes {
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 5px;
	z-index: 1000;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

.edit-overlay-notes textarea {
	border: none;
	outline: none;
	font-size: inherit;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.account-container {
	width: 550px;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px;
	height: 190px;
}

.account-search {
	width: 95%;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.account-list {
	max-height: 150px; /* Adjust height as needed */
	overflow-y: auto;
	border-top: 1px solid #ccc;
}

.account-item {
	padding: 5px;
	cursor: pointer;
	border-bottom: 1px solid #eee;
	line-height: 1;
	font-size: 14px;
}

.account-item:hover {
	background-color: #f0f0f0;
}

.account-item.selected {
	background-color: #9fbad5;
}

@media screen and (max-height: 1100px){
	.newsub {
		transform: scale(0.85);
		top: clamp(-60px, calc(50vh - 410px), 100px);
	}
}
