/* [Bug#25265] Endless expansion quick fix */
.contained {
	max-height:500px;
	overflow-y:auto;
}

#lanip_text:before {
	content: attr(data-title);
}

#location_map_display {
	position:relative;
	overflow:hidden;
	box-sizing: border-box;
	width: 100%;
	height: 200px;
	margin-bottom:15px;
	border: 1px solid black;
}
#location_map_display div.gps_fix_display,
#location_map_display div.latlng_display {
	position:absolute;
	top:5px;
	z-Index:50;

	background-color:rgba(255,255,255,0.9);
	opacity:50%;

	padding:0 5px;
}
#location_map_display div.latlng_display {
	right:10px;
}
#location_map_display div.gps_fix_display {
	left:10px;
}


span.dnci {
	font-style:italic;
}


.mapLabelClass {
	color: white;
	background-color: #32A6A6;
	font-family: "Lucida Grande", "Arial", sans-serif;
	font-size: 10px;
	text-align: center;
	white-space: nowrap;
}

.mapShowLabelClass {
	color: black;
	background-color: #86D9A6;
     	text-align: center;
     	white-space: nowrap;	
}


body.ha_hot_slave .display_toggle_crossover_ha_control,
body.ha_hold_all .display_toggle_crossover_ha_control,
body.ha_hold_all .display_toggle_outgoing_ha_control {
	display: none;
}
body.ha_hot_slave .visibility_toggle_crossover_ha_control,
body.ha_hold_all .visibility_toggle_crossover_ha_control,
body.ha_hold_all .visibility_toggle_outgoing_ha_control {
	visibility: hidden;
}


#_tips_box_ .port_details div.content_row {
	clear: both;
}
#_tips_box_ .port_details div.content_row div.left {
	float: left;
	width: 130px;
}
#_tips_box_ .port_details div.content_row div.right {
	margin-left:130px;
}


#info_display {
	border-top: 1px solid #999;
	padding-top: 7px;
	text-align: center;
}

.wizard_panel {
	border: 1px solid black;
	display: flex;
	justify-content: space-between;
	padding: 10px 6px;
}
.wizard_panel .goto_wizard {
  white-space: nowrap; /* To prevent the "Setup Wizard" link to be broken into two lines */
}
@media only screen and (max-width: 600px) {
	/* Change to vertical flow of the wizard panel content */
	.support_mobile_view.mobile_view .wizard_panel.tablecontent2 {
		flex-direction: column;
	}
	.support_mobile_view.mobile_view .wizard_panel.tablecontent2 .wizard_dismiss_cell {
		margin-top: 10px;
		text-align: right;
	}
}
.module_panel {
	width: 100%;
}


body.extsw .conn_info_panel tbody tr.tabletitle {
	display:none;
}


.profile_panel .vrf_column {
	display:none;
}
.profile_panel.vrf .vrf_column {
	display:table-cell;
}


/* WAN Connection Status */
td.status_cell div {
        float:left;
        padding:3px 0 0 3px;
}
td.status_cell div.signal,
td.status_cell div.status_button {
        float:right;
        padding:0;
	text-align:right;
}
td.status_cell .conn_roaming_status:before {
	content: "R\0025B2";
}
td.status_cell .conn_roaming_status,
td.status_cell .conn_network_mode {
	padding: 0 3px;
	color: #FFF;
	background-color: #7777FF;
	font: bold 10px Arial;
	margin-right: 5px;
	vertical-align: middle;
}
body.extsw td.status_cell div.status_button {
	visibility:hidden;
}
.conn_status.virtual_table {
	border-spacing: 2px;
}
.conn_status.virtual_table tr:not(.tabletitle2) td {
	padding: 3px;
}
.wlan_status_table .ssid_list_panel {
	display: flex;
	flex-wrap: wrap;
	/* border: 1px black solid; */
	border-top: 0;
	background-color: #E6E6EB;
}
.wlan_status_table .ssid_list_panel div.ssidItem:nth-of-type(4n) {
	border-right: 0;
}
.wlan_status_table .ssid_list_panel div.ssidItem:nth-of-type(4n + 1):nth-last-of-type(-n + 4),
.wlan_status_table .ssid_list_panel div.ssidItem:nth-of-type(4n + 1):nth-last-of-type(-n + 4) ~ div {
	border-bottom: 0;
}
.wlan_status_table .ssid_list_panel div.ssidItem {
	padding: 3px;
	box-sizing: border-box;
	display: flex;
	min-width: 0;
	align-items: center;
	flex: 0 0 25%;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}
.wlan_status_table .ssid_list_panel div.ssidItem > * {
	margin-right: 3px;
}
.wlan_status_table .ssid_list_panel div.ssidItem .freq {
	flex-shrink: 0;
}
.wlan_status_table .ssid_list_panel div.ssidItem .freq > * {
	font-size: 10px;
	font-weight: bold;
	background-color: #1EBFCB;
	border-radius: 2px;
	color: #FFF;
	margin: 1px;
	border: 0;
	padding: 1px 3px;
	text-align: right;
}
.wlan_status_table .ssid_list_panel div.ssidItem .freq .hide_label {
	opacity: 0.2;
}
.wlan_status_table .ssid_list_panel div.ssidItem .text_content {
	display: flex;
	align-items: first baseline;
	min-width: 0;
}
.wlan_status_table .ssid_list_panel div.ssidItem .ssid {
	padding-left: 3px;
	white-space: pre;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wlan_status_table .ssid_list_panel div.ssidItem .fa {
	font-size: 13px;
	color: #0099FF;
	width: 14px;
	text-align: center;
}
.wlan_status_table .ssid_list_panel div.ssidItem .fa.cloudIcon {
	cursor: pointer;
}
.wlan_status_table .warn_icon:before,
.wifi_profile .warn_icon:before {
	font: normal normal normal 1em/1 var(--font-FontAwesome);
	font-size: inherit;
	content: "\f071";
	color: #FC5;
}
@media only screen and (max-width: 600px) {
	.support_mobile_view.mobile_view .conn_status.virtual_table tr.tabletitle2 td {
		padding: 0;
	}
	.support_mobile_view.mobile_view #ipsec_status_display tbody tr td:first-child,
	.support_mobile_view.mobile_view .gre_tunnel_status_panel tbody tr td:first-child,
	.support_mobile_view.mobile_view .pepvpn_status_table tbody tr td:first-child,
	.support_mobile_view.mobile_view .sfwan_status_table tbody tr td:first-child {
		width: auto;
	}
	.support_mobile_view.mobile_view .wlan_status_table .ssid_list_panel {
		display: flex;
		border: none !important;
		justify-content: flex-start;
		flex-wrap: wrap;
		background-color: #E8E8E8;
	}
	.support_mobile_view.mobile_view .wlan_status_table .ssid_list_panel div.ssidItem {
		border: none;
		flex: 0 0 100%;
		background-color: #D3D3D3;
	}
	.support_mobile_view.mobile_view .wlan_status_table .ssid_list_panel div.ssidItem:nth-of-type(2n+1) {
		background-color: #E8E8E8;
	}
	/* Below is CSS for 2 column SSID
	.support_mobile_view.mobile_view .lan_panel .ssid_list_panel div {
		border: none;
		flex: 0 0 50%;
		background-color: #D3D3D3;
	}
	/ * if there is one and only one ssid, allow to grow * /
	.support_mobile_view.mobile_view .lan_panel .ssid_list_panel div:first-child {
		flex-grow: 1;
	}
	.support_mobile_view.mobile_view .lan_panel .ssid_list_panel div:nth-of-type(4n),
	.support_mobile_view.mobile_view .lan_panel .ssid_list_panel div:nth-of-type(4n+1) {
		background-color: #E8E8E8;
	}
	*/
}


/* High Availability Status */
.ha_panel .ha_role {
	font-weight:bold;
	color:#F00;
}
.ha_panel .ha_transition {
	font-size:11px;
	font-style:italic;
}

.extsw_port_panel {
	width: 100%;
}

.extsw_status_bar div.inactive {
	background-color: #E6E6EB !important;
	text-decoration: line-through !important;
}

#access_point_display .float {
	float: right;
}

/* Sysinfo Box Delivery */
#sysinfo_text div.content_row {
	display: flex;
}
#sysinfo_text div.content_row div.left {
	flex: 0 1 180px;
}
@media only screen and (max-width: 600px) {
	#sysinfo_text div.content_row div.left {
		flex: 0 1 30vw;
	}
}
.card {
	margin-bottom: 20px;
}
.card .tabletitle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2px 4px;
}
.card .tabletitle .button_panel > * {
	margin-right: 3px;
	vertical-align: middle;
}
.wlan_status_table .disabled_ap {
	background-color: #A88;
	color: #FFF;
	text-align: center;
	padding: 4px;
}
.card .no_info {
	text-align: center;
	padding: 4px;
	color: #A0A0A0;
}
.card .no_info,
.card .summary {
	background-color: #E6E6EB;
	border: 1px solid black;
}
.card .summary .content {
	display: flex;
	align-items: first baseline;
}
.card .summary .content > * {
	padding: 2px 4px;
}
.card .summary .tablecontent.content > * {
	padding: 4px
}
.card .summary .content .left {
	flex: 0 1 180px;
}
.card .summary .content .right > * {
	margin-right: 3px;
}
.card .summary .tablecontent {
	border-bottom: 1px solid black;
	padding: 0;
}
.card .summary .tablecontent:last-child {
	border-bottom: none;
}
.card .summary .tablecontent .left {
	flex-basis: 350px;
	border-right: 1px solid black;
	background-color: #A0A0A0;
	color: #FFF;
}
.card .footer {
	background-color: #E6E6EB;
	color: #676767;
	border: 1px solid black;
	border-top: none;
	padding: 2px 4px;
}
@media only screen and (max-width: 600px) {
	.support_mobile_view.mobile_view .card .summary .tablecontent .left {
		flex-basis: 50%;
	}
}
