/* @override 
	https://omegastaging.local/wp-content/plugins/omega-network-admin/ona.css?*
*/

:root {
	--ona-flag-icon: #c4a616;
	--ona-flag-bkg: #fcf6d9;
	--ona-lang-icon: #17ae57;
	--ona-lang-bkg: #e8fbf0;
	--ona-groups-icon: #4f1dc3;
	--ona-groups-bkg: #eeecff;
}


.sites.fixed .column-omega_topbar_enable { width:52px; }
.sites.fixed .column-omega_multi_lang { width:36px; }
.sites.fixed .column-omega_has_divisions { width:36px; }
.sites.fixed .column-omega_plugin { width:40px; }
.sites.fixed .column-omega_projectmanager { width:100px; }
.sites.fixed .column-omega_system_version { width:90px; }
.sites.fixed .column-omega_last_export { width:160px; }
.sites.fixed .column-users { width:40px; }
.sites.fixed .column-lastupdated { width:120px; }


.sites.fixed td.column-omega_clientname {
	font-weight: 700;
}

/* list view */
#the-list tr td.omega_has_divisions { color: var(--ona-groups-icon); }
#the-list tr:has(.dashicons-groups) { background-color: var(--ona-groups-bkg); }
#the-list tr td.omega_multi_lang { color: var(--ona-lang-icon); }
#the-list tr:has(.dashicons-translation) { background-color: var(--ona-lang-bkg); }
#the-list tr:has(.dashicons-flag) { background-color: var(--ona-flag-bkg); }
#the-list tr td.omega_topbar_enable { color: var(--ona-flag-icon); }


/* hide the primary site selector */
#myblogs .form-table tbody {
	display: none;
}
#myblogs .sort-my-sites {
	display: inline-block;
}
#myblogs .sort-my-sites .button {
	margin-right: 6px;
}
#myblogs .sort-my-sites .button.selected {
	background-color: #2170b1;
	color: #fff;
}

#myblogs .filterSites {
	display: inline-block;
}
#myblogs input::placeholder {
   font-style: italic;
   color: #aaa;
}

/* needed to remove the right border */
#myblogs .my-sites.striped li:after{content:none}

#myblogs ul.my-sites {
	display: flex;
	flex-flow: row wrap;
	gap: 2px;
}
#myblogs .my-sites .icon img {
	display: block;
	width: 24px;
	height: 24px;
}
#myblogs .my-sites .icon {
	position: absolute;
	right: 20px;
	top: 20px;
}
#myblogs ul.my-sites .version {
	color: #aaa;
	margin: 0;
	position: absolute;
	right: 20px;
}
#myblogs .my-sites .preview {
	position: absolute;
	right: 20px;
	top: 200px;
	color: var(--ona-flag-icon);
}
#myblogs .my-sites .lang {
	position: absolute;
	right: 20px;
	top: 226px;
	color: var(--ona-lang-icon);
}
#myblogs .my-sites .divisions {
	position: absolute;
	right: 20px;
	top: 248px;
	color: var(--ona-groups-icon);
}

#myblogs ul.my-sites li {
	float: none;
	padding: 20px;
	width: 260px;
	background-color: #fff;
	display: block;
	line-height: 14px;
}

#myblogs ul.my-sites li:has(.divisions) {
	background: var(--ona-groups-bkg);
}
#myblogs ul.my-sites li:has(.lang) {
	background: var(--ona-lang-bkg);
}
#myblogs ul.my-sites li:has(.preview) {
	background: var(--ona-flag-bkg);
}


#myblogs .my-sites li:hover,
#myblogs ul.my-sites li:has(.lang):hover,
#myblogs ul.my-sites li:has(.divisions):hover,
#myblogs ul.my-sites li:has(.preview):hover {
	background: #e2eff9;
	transition: background-color 0.2s ease;
}

#myblogs ul.my-sites li h3 {
	line-height: 1.1em;
	margin-top: 0;
	margin-right: 30px;
	white-space: nowrap;
	overflow: hidden;
}

#myblogs .projectmanager,
#myblogs .clientid,
#myblogs .clientnick,
#myblogs .currentyear {
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	margin: 0;
}
#myblogs .projectmanager .dashicons,
#myblogs .clientid .dashicons,
#myblogs .clientnick .dashicons,
#myblogs .currentyear .dashicons {
	color: #cdcdcd;
	margin-right: 3px;
	
}
#myblogs .projectmanager {
	color: #b06363;
}
#myblogs .clientnick {
	font-style: italic;
	color: #afafaf;
	font-weight: 500;
}
#myblogs .clientid {
	margin-top: 2px;
	text-transform: uppercase;
	color: #afafaf;
}
#myblogs .currentyear {
	color: #777;
}

#myblogs .lastexport {
	margin-top: 6px;
	margin-bottom: 0;
}
#myblogs .netlify {
	margin-top: 6px;
	margin-bottom: 0;
}
#myblogs .netlify a {
	outline: none;
	text-decoration: none;
	border: none;
}
#myblogs .lastexport .label {
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 700;
	color: #6ea5d2;
}
#myblogs .lastexport .errors {
	background-color: red;
	color: #fff;
	display: inline-block;
	line-height: 20px;
	padding: 4px 6px;
	border-radius: 6px;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	margin: 8px 0;
}

#myblogs .my-sites .rawtime {
	color: #bbb;
}

.my-sites-actions {
	display: flex;
	flex-flow: column wrap;
	margin-bottom: 6px;
}
.my-sites-actions a {
	font-weight: 700;
	line-height: 20px;
	background: #e5e5e5;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #fff;
	margin-bottom: 3px;
	text-transform: uppercase;
}
.my-sites-actions a:hover {
	background-color: #2170b1;
	color: #fff;
}
.my-sites-actions .dashicons {
	margin-right: 3px;
	transition: none;
}

#wpadminbar li#wp-admin-bar-omega-network {
	width: 200px;
}

#wpadminbar li#wp-admin-bar-omega-local-dev {
}
#wpadminbar li#wp-admin-bar-omega-local-dev > .ab-item {
	background-color: #ffda00;
	color: #000;
	font-weight: 700;
	letter-spacing: 2px;
	display: block;
	padding-right: 20px;
}
#wpadminbar li#wp-admin-bar-omega-local-dev > .ab-item:before {	
	font: normal 20px/1 dashicons;
	content: "\f332";
	top: 2px;
	left:10px;
	color: #000;
	margin-right: 14px;
}


#wp-admin-bar-omega-network > .ab-item:before {
	font: normal 20px/1 dashicons;
	content: "\f325";
	top: 2px;
}
#wp-admin-bar-omega-network ul.ab-submenu li {
	margin-bottom: 6px;	
}
#wpadminbar .quicklinks .menupop ul li {
	float: left;
	display: block;
}
#wp-admin-bar-omega-sites-list-name > .ab-item:before,
#wp-admin-bar-omega-sites-list-updated > .ab-item:before {
	content: "\f203";
}
#wp-admin-bar-omega-users > .ab-item:before {	
	content: "\f110";
}
#wp-admin-bar-omega-plugins > .ab-item:before {	
	content: "\f106";
}
#wp-admin-bar-omega-migration > .ab-item:before {
	content: "\f17e";
}
#wp-admin-bar-omega-export > .ab-item:before {
	content: "\f316";
}
#wp-admin-bar-omega-sites-grid-name > .ab-item:before,
#wp-admin-bar-omega-sites-grid-updated > .ab-item:before {
	content: "\f509";
}


@media screen and (width <= 480px) {
	#myblogs ul.my-sites li {
		width: 160px;
		padding: 12px;
	}
	#myblogs ul.my-sites .version {
		position: relative;
		float: right;
		right: 5px;
	}
	#myblogs .my-sites .icon {
		position: relative;
		float: left;
		top: 0;
		right: 0;
	}
	#myblogs .projectmanager,
	#myblogs .clientid {
		clear: both;
	}
	#myblogs .my-sites .dashicons-flag {
		position: relative;
		float: right;
		right: 10px;
		top: 0;
	}
}
