/* Link table layout */

table#blc-links {
	width: 100%;
	table-layout: fixed;
}

tr.blc-link-details {
	display: none;
}

.blc-detail-container {
	display: block;
	width: 100%;
}

.blc-detail-block {
	width: 50%;
}

/* Column headers */

th.column-new-url {
	width: 33%;
}

th.column-status {
	width: 12em;
}

th.column-new-link-text {

}

th.column-used-in {

}

th.column-source {
	width: 33%;
}

th.column-link-text {
	width: 24%;
}

th.column-url {
	width: 35%;
}

th.column-last-checked {
	width: 10em;
}

th.column-broken-for {
	width: 10em;
}

th.column-instance-count {
	width: 10em;
}

/* Cells */

td.column-new-url,
td.column-used-in
{
	/*
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	*/
}

td.column-new-url .row-actions,
td.column-url .row-actions
{
	margin-left: 16px;
}

td.column-new-url .mini-status {
	margin-left: 16px;
	color: black;
}

table.mini-status {
	border-spacing: 0;
}

/* Styles for broken links, redirects and other link states or types */

.blc-redirect .blc-link-url {
	background-image: url("../images/blue_dot.png");
}

.link-status-error .blc-link-url {
	background-image: url("../images/font-awesome/font-awesome-exclamation-sign.png");
}

.link-status-warning .blc-link-url {
	background-image: url("../images/font-awesome/font-awesome-warning-sign.png");
}

.blc-excluded-link {
	background-color: #E2E2E2;
}

.blc-permanently-broken {

}

.blc-permanently-broken-hl {
	background-image: url("../images/red_highlight.png");
}


/* The "Status" column */
td.column-status {
	cursor: pointer;
}

.mini-status, .mini-status th, .mini-status td {
	border: 0;
	font-size: 1em;
	padding: 0;
	color: gray;
}

.mini-status div {
	display: inline-block;
}

.mini-status .status-text {
	color: black;
}

.link-status-unknown td.column-status .http-code {
	display: none;
}


/* Status colors */
.color-code-link-status  .mini-status .http-code,
.color-code-link-status  .mini-status .status-text
{
	font-weight: bold;
}

.color-code-link-status  .link-status-unknown td.column-status .status-text,
.color-code-link-status  .link-status-unknown td.column-status .http-code
{
	color: gray;
	font-weight: normal;
}

.color-code-link-status  .link-status-ok td.column-status .status-text,
.color-code-link-status  .link-status-ok td.column-status .http-code
{
	color: green;
}

.color-code-link-status  .link-status-info td.column-status .status-text,
.color-code-link-status  .link-status-info td.column-status .http-code
{
	color: blue;
}

.color-code-link-status  .link-status-warning td.column-status .status-text,
.color-code-link-status  .link-status-warning td.column-status .http-code
{
	color: #FF8C00; /*#FFA500*/
}

.color-code-link-status  .link-status-error td.column-status .status-text,
.color-code-link-status  .link-status-error td.column-status .http-code
{
	color: red;
}


/* "Compact" view */

.compact td.column-url,
.compact td.column-status,
.compact td.column-link-text,
.compact td.column-used-in,
.compact td.column-new-url,
.compact td.column-source,
.compact td.column-new-link-text,
.compact td.column-redirect-url
{
	overflow:  hidden;
	-o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
	word-wrap: normal;
}

.compact .link-last-checked,
.compact .link-broken-for,
.compact .link-text
{
	display: none;
}


/* Only show the "Details" link in the compact view. */
#blc-links .column-status .row-actions {
	display: none;
}
#blc-links.compact .column-status .row-actions {
	display: block;
}

/* Misc table styles */

.blc-link-url {
	padding-left: 16px;
	overflow: hidden;

	background-image: none;
	background-position: left center;
	background-repeat: no-repeat;
}

td.column-new-url {	/* The URL never wraps */
	word-wrap: normal;
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	overflow-x: hidden;
}

td.column-new-url .row-actions { /* However, the action links below the URL can wrap. */
	word-wrap: normal;
	white-space: normal;
}

.blc-link-editor {
    font-size: 1em;
    width: 95%;
    margin-left: 12px;
    margin-top: -1px;
}

.blc-url-editor-buttons {
	margin-left: 12px;
	margin-top: 2px;
	display: none;
	width: 95%;
}

img.waiting {
	float:right;
	padding:4px 8px 0;
	vertical-align:top;
}

td.column-link-text, td.column-new-link-text {
	cursor: pointer;
}

.blc-small-image {
	vertical-align: middle;
}


/* Inline editor */

.blc-inline-editor label {
    display: block;
    margin: 0.2em 0;
}

.blc-inline-editor .blc-input-text-wrap {
    display: block;
    margin-left: 5em;
}

.blc-inline-editor .blc-input-text-wrap input[type="text"] {
    width: 100%;
}

.blc-inline-editor .blc-input-text-wrap textarea {
    width: 100%;
}


.blc-inline-editor label span.title {
    display: block;
    float: left;
    width: 5em;
}

.blc-inline-editor span.title {
    line-height: 1.8em;
}

.blc-inline-editor-content > h4:first-child {
    margin-top: 0.4em;
}

/* Inline editor: suggestion list */
ul.blc-suggestion-list {
    list-style: disc outside;
}

ul.blc-suggestion-list li {
    margin-left: 1.5em;
}

.blc-suggestion-details {
    display: inline-block;
    width: 465px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-wrap: normal;

    vertical-align: top;
}

.blc-suggestion-list input.blc-use-url-button {
    float: right;
    max-width: 110px;
    margin-top: 10px;
}

.blc-suggestion-list code.blc-suggestion-url {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;

    white-space: nowrap;
    word-wrap: normal;
}

.blc-suggestion-list .blc-suggestion-name {
    display: block;
}


.blc-inline-editor-buttons {
    clear: both;
    margin: 0.5em 0 0;
    padding: 0.5em;
}

.blc-inline-editor-content {
    max-width: 600px;
}


/* Bulk edit form */
#bulk-edit {
	display: none;
}

#bulk-edit-wrap {
	max-width: 600px;
	padding-left: 0.3em;
}

#bulk-edit fieldset {
	font-size: 12px;
}

#bulk-edit h4 {
	margin: 0.4em 0 0.8em;
	/*display: none;*/
}

#bulk-edit label {
	display: block;
	margin-bottom: 0.2em;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0.2em;
}

#bulk-edit .title {
	display: block;
	float: left;
	width: 15%;
	font-size: 12px;
	line-height: 1.8em;
}

#bulk-edit input.text {
	display: block;
	width: 84%;
}

#bulk-edit-options label {
	float: left;
	margin-right: 2em;
}

#bulk-edit p.submit {
	padding-top: 0.5em;
}

/* Search form */

.blc-search-container {
	background : white !important;
	border: 3px solid #EEEEEE;
	padding: 12px;

	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

.blc-search-container .ui-dialog-titlebar {
	display: none;
	margin: 0;
}

#search-links-dialog {
	display: none;
}

#search-links-dialog label, #search-links-dialog input.text, #search-links-dialog select { display:block; }

#search-links-dialog input.text,
#search-links-dialog select{
    margin-bottom: 12px;
    width: 290px;
}

#search-links-dialog select#s_filter {
    width: auto;
}

#search-links-dialog fieldset {
    padding:0;
    border:0;
    margin-top:25px;
}

#blc-search-button-row {
	text-align: center;
}

#blc-search-button-row input {
	margin-left: 8px;
	margin-right: 8px;
	margin-top: 8px;
}

.blc-inline-form {
	display: inline;
}

div.search-box{
	float: right;
	margin-top: -5px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}

#s_link_type optgroup {
	font-style: normal;
	font-size: 13px;
}

#s_link_type optgroup option {
	margin-left: 1em;
}

/* Filter-related styles */
.base-filter-all .blc-dismiss-action {
    display: none;
}

/* Miscellaneous styles */

#blc-more-plugins-link-wrap,
#blc-plugin-news-link-wrap {
	background: #00C31F none;
}

#screen-meta-links #blc-more-plugins-link,
#screen-meta-links #blc-plugin-news-link {
	font-weight: bold;
	color: #DEFFD8;
	text-shadow: none;
}

#screen-meta-links #blc-more-plugins-link-wrap a.show-settings:hover,
#screen-meta-links #blc-plugin-news-link-wrap a.show-settings:hover
{
	color: white;
}

#screen-meta-links {
	position: absolute;
    right: 20px;
}

@media screen and (max-width: 768px) {
	table#blc-links {
		table-layout: auto;
	}
}
th#cb {
    vertical-align: middle;
    padding: 6px 0 3px;
}