#admin-mode-button {
	margin: 20px;
	float: right;
}

#page-number-per-page {
	border: 1px solid #999;
}

/* card */
#card-container {
	padding-left: 10vw;
	padding-right: 10vw;
	padding-top: 1vh;
	padding-bottom: 1vh;
}

/*.single-card-container {
	max-width: 280px;
} */

div[id$=-app-card] {
	max-height: 350px;
	max-width: 300px;
	height: 35vh;
	width: 20vw;
	border-color: #ddd;
	background-color: #f1f1f1 !important; 
	margin-left: auto;
	margin-right: auto;
}

/* public iframe cards */
div[id$=-app-card-row] > div {
	background-color: #f1f1f1 !important;
	border-color: #ddd;
	margin-left: auto;
	margin-right: auto;
}

.single-card-container-img {
	max-width: 300px;
	width: 10vw;
}

div[id$=-app-card] > div > div.application-number-in-card {
	font-size: 20px;
}

div[id$=-app-card] > div > div.card-subtitle {
	font-size: 16px;
	padding-top: 0vh;
	height: 50%;
}

/*
.card-property {
	max-width: 300px;
	height: 95%;
	border-color: #ddd;
	background-color: #f1f1f1;
	margin-left: auto;
	margin-right: auto;
}
*/

.container-not-iframe {
	cursor: pointer;
	width: 100%;
}

.footer-text-in-iframe {
	font-size: 4vw;
}

.v-image__image--contain {
  background-position: left center !important;
}

.card-property md-card-title {
	width: -moz-available;
	width: -webkit-fill-available;
	width: auto;
}

/*
.application-number-in-card {
	width: 60%;
	float: left;
	margin: auto;
}
*/

md-card.card-property > img {
	width: 40%;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	max-height: 90px;
	max-width: 90px;
}

div[id$=-app-list] .table-header {
	background-color: #e3e3e3;
}

div[id$=-app-list] {
	margin-top: 10px;
	margin-bottom: 10px;
	border-collapse: collapse;
	width: 90%;
}

div[id$=-app-list] .col-1 {
        text-align: center;
        width: 26%;
}

div[id$=-app-list] .col-2 {
        text-align: center;
        width: 26%;
}

div[id$=-app-list] .col-3 {
        text-align: center;
        width: 6%;
}

div[id$=-app-list] .col-4 {
        word-wrap: normal;
        text-align: center;
        width: 9%;
}

div[id$=-app-list] .col-5 {
        word-wrap: normal;
        text-align: center;
        width: 10%;
}

#down-app-list .v-table__wrapper > table {
	table-layout: fixed;
	width: 100%;
}

#down-app-list .col-2 {
	white-space: normal;
	word-break: break-word;
}

table tbody:nth-child(odd).public-pg-tbody tr {
	background-color: #f5f5f5;
	line-height: 40px;
}


table tbody:nth-child(odd).public-pg-tbody tr.subgroup-row {
	background-color: #e5e5e5;
}

table tbody:nth-child(even).public-pg-tbody tr {
	background-color: #fafafa;
	line-height: 40px;
}

table tbody:nth-child(even).public-pg-tbody tr.subgroup-row {
	background-color: #eaeaea;
}

#degraded-section div #degraded-definition-text {
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

#data-refresh-policy {
	word-wrap: normal;
	background-color: #fafafa;
}

/* Search drop down */
#public-search-srvcat {
	padding-bottom: 0px;
	padding-top: 0px;
}

#search-drop-down-public {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* refresh switch */
#refresh-switch-public {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* Section tag */
section.iframe-section-padding-bottom {
	padding-bottom: 4px;
	background-color: #ffffff;
}

/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_tooltip */
div.single-card-container.container-not-iframe > div span.tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
	top: 60px;
	left: 105%;
	margin-left: 18vh
}

div.single-card-container.container-not-iframe > div {
	position: absolute;
}

div.single-card-container.container-not-iframe > div span.tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 7px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
}

div.single-card-container.container-not-iframe:hover > div span.tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* publiciframe */
#public-iframe-html {
	bottom: 20px;
	height: 100%
}

#public-iframe-html html,
#public-iframe-html body,
#public-iframe-html .v-application,
#public-iframe-html .v-application__wrap {
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#all-up-text h4 {
	color: #009900;
	text-align: center;
	margin: 0px;	
	padding-top: 15px;
	width: 204px;
	height: 30px;
}

#public-iframe-html {
	background-color: #ffffff;
}

#card-container-in-iframe {
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #ffffff;
	z-index: 10;
}


#iframe-body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

.iframe-summary-container {
	padding: 0 !important;
	width: 100%;
	height: 100vh;
	--iframe-row-height: calc(100vh / 3);
	overflow-y: auto;
	overflow-x: hidden;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#check-summary-icons {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

#check-summary-icons .iframe-card-row {
	margin: 0;
	width: 100%;
	flex: 0 0 33.333%;
	height: 33.333%;
	padding-top: 1px;
	padding-bottom: 1px;
	box-sizing: border-box;
}

#check-summary-icons .v-col {
	padding: 0 !important;
	height: 100%;
}

#check-summary-icons .v-card {
	height: 100% !important;
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
}

#check-summary-icons .iframe-status-card {
	background-color: #f1f1f1 !important;
	border: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
	outline: none !important;
}

#check-summary-icons .v-list-item {
	height: 100% !important;
	min-height: unset !important;
	padding: 0 8px;
	display: flex !important;
	align-items: center;
	width: 100%;
}

#check-summary-icons .v-list-item-title {
	font-size: clamp(1.18125rem, calc(var(--iframe-row-height) * 0.27), 5.90625rem);
	white-space: nowrap;
}

#check-summary-icons .v-list-item__content {
	flex: 1 1 auto;
	min-width: 0;
}

.iframe-card-label {
	font-size: clamp(1.18125rem, calc(var(--iframe-row-height) * 0.27), 5.90625rem);
	font-weight: 500;
	white-space: nowrap;
}

.iframe-card-count {
	font-weight: bold;
	font-size: clamp(1.18125rem, calc(var(--iframe-row-height) * 0.27), 5.90625rem);
	white-space: nowrap;
}

.iframe-card-pct {
	font-size: clamp(1.18125rem, calc(var(--iframe-row-height) * 0.216), 5.90625rem);
	color: #666;
	white-space: nowrap;
	margin-left: 2px;
}

.iframe-card-metrics {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: auto;
	text-align: right;
}

#check-summary-icons .v-list-item__append {
	display: flex !important;
	margin-inline-start: auto !important;
	justify-content: flex-end;
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
}

.iframe-tooltip-oncard {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: clamp(8px, calc(var(--iframe-row-height) * 0.14), 34px)
		clamp(14px, calc(var(--iframe-row-height) * 0.24), 68px);
	background: rgba(0, 0, 0, 0.8) !important;
	border-radius: clamp(4px, calc(var(--iframe-row-height) * 0.08), 16px);
	color: white;
	font-size: clamp(1.35rem, calc(var(--iframe-row-height) * 0.27), 6.075rem);
	line-height: 1.25;
	z-index: 4010;
	list-style: none;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease-in-out;
}

.iframe-tooltip-oncard li {
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: clamp(1px, calc(var(--iframe-row-height) * 0.015), 6px) 0;
}

.iframe-tooltip-host {
	position: relative;
	width: 100%;
	height: 100%;
}

.iframe-tooltip-host:hover .iframe-tooltip-oncard {
	opacity: 1;
}

#check-summary-icons .iframe-card-avatar,
#check-summary-icons .v-avatar {
	width: clamp(44px, calc(var(--iframe-row-height) * 0.72), 220px) !important;
	height: clamp(44px, calc(var(--iframe-row-height) * 0.72), 220px) !important;
	min-width: clamp(44px, calc(var(--iframe-row-height) * 0.72), 220px);
	flex-shrink: 0;
}

@media (max-width: 680px) {
	#iframe-body {
		margin-top: 2px;
	}

	#check-summary-icons .iframe-card-row {
		margin-bottom: 0;
	}

	#check-summary-icons .v-list-item {
		min-height: calc(160px / 3);
	}
}

#down-service-list {
	margin-top: 5px;
	margin-bottom: 5px;
}

#degraded-card-in-col {
	z-index: 15;
}

#down-card-in-col {
	z-index: 20;
}

#up-card-in-col {
	z-index: 25;
}

/* for card in row */
div.single-card-container-in-col-iframe > div.tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
	/* bottom: 10px; */
	left: 20%;
	margin-left: 18vh;	
	text-align: left;
	z-index: 100;
}

div.single-card-container-in-col-iframe > div.tooltiptext::after {
    content: " ";
    position: absolute;
    top: 30%;
    right: 100%;
    margin-top: -5px;
    border-width: 7px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	z-index: 100;
}

div.single-card-container-in-col-iframe:hover > div.tooltiptext {
    visibility: visible;
    opacity: 1;
}

div.single-card-container-in-col-iframe > div.tooltiptext ul {
	padding-left: 2px;
}

#error-handling div {
	width: 220px;
	font-size: 13px;
}

div.error-message {
	text-align: left;
}

div.error-message span.oithd-contact {
	font-weight: bold;
}

span[id^=collapse-groupapps-icon-]:after {
	content: "\27A4";
	display: inline-block;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

tr.active td.col-2 span[id^=collapse-groupapps-icon-]:after {
	content: "\27A4";
	display: inline-block;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}


/*
#down-app-list-iframe.md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
	color: #ff0000;
	background-color: #ffffff;
}

#down-app-list-iframe md-content.md-default-theme, md-content {
	background-color: #ffffff;
	margin-top: 7px;
	 overflow: hidden;
}

#down-app-list-iframe md-toolbar {
	max-height: 37px;
	text-align: center;
	min-height: 22px;
	margin-top: -15px;
	margin-bottom: 5px;
}

#down-app-list-iframe md-list-item, md-list-item .md-list-item-inner {
	max-height: 22px;
	min-height: 15px;
	margin-top: 6px;
}
	
#down-app-list-iframe h4 {
	margin-top: 2px;
	margin-bottom: 2px;
}

.container-iframe {
	width: 40%;
	//width: 70%;
	//max-height: 140px; 
}

md-card-title.public-iframe {
	height: 45px;
}

.card-text-in-iframe {
	font-size: 13px;
	height: 50%;
}

md-card md-card-title md-card-title-text:only-child .md-subhead.card-text-in-iframe {
	font-size: 13px;
	padding-top: 0vh;
	height: 50%;
}
*/
