﻿html, body {
	font: 12pt Arial, Verdana;
	color: #333333;
	background-color: #ffffff;
}

/* #region Navbar styles */
.navbar-header {
	border-bottom: 1px solid rgba(255,255,255, 0.1);
}

	.navbar-header img.logo {
		float: left;
		height: 42px;
		background: white;
		padding: 8px;
		margin: 4px 20px 4px 0;
	}

a.navbar-brand {
	white-space: normal;
	text-align: center;
	word-break: break-all;
}


/* #region Footer styles */
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */


h1 a {
	color: #fff;
	text-decoration: none;
}

h2 {
	font-weight: lighter;
}

.placeholder img {
	display: inline-block;
}

p .k-button {
	margin: 0 15px 0 0;
}

#configure {
	display: none;
}

p .k-button {
	margin: 0 15px 0 0;
}

.k-state-active .label {
	font-size: 1em;
}

#responsive-panel {
	padding: 0;
	width: 100%;
}

	#responsive-panel .k-menu {
		padding: .5rem;
	}
/* #endregion */

@media (max-width: 767px) {
	#responsive-panel {
		transition: all linear .2s;
	}

	#configure {
		display: block;
		float: right;
	}

	.k-rpanel {
		padding: 0 1rem;
	}

	.k-rpanel-expanded {
		padding: .5rem 1rem;
	}

	.navbar-header {
		width: 100%;
	}

	.navbar-brand {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	.k-menu .k-item,
	.k-menu .k-link {
		width: 100%;
	}

	.k-widget.k-menu-horizontal > .k-item {
		border: none;
	}

	.k-menu .k-link {
		box-sizing: border-box;
	}
}

/* Provide sufficient contrast against white background */
a {
	color: #0366d6;
}

.btn-primary {
	color: #fff;
	background-color: #1b6ec2;
	border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: #fff;
	background-color: #1b6ec2;
	border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

.border-top {
	border-top: 1px solid #e5e5e5;
}

.border-bottom {
	border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
	box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
	font-size: 1rem;
	line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	white-space: nowrap;
	line-height: 60px; /* Vertically center the text there */
}

.link-like {
	cursor: pointer;
}

.ui-autocomplete {
	max-height: 50%;
	overflow-y: auto; /* prevent horizontal scrollbar */
	overflow-x: hidden; /* add padding to account for vertical scrollbar */
	z-index: 1000 !important;
}


.flex-host-v {
	display: flex;
	flex-flow: column nowrap;
}

.flex-host-h {
	display: flex;
	flex-flow: row nowrap;
}

.flex-item-fixed {
	flex-grow: 0;
	flex-shrink: 0;
}

.flex-item-fill {
	flex: 1 0 auto;
}

.flex-item-scrollable {
	flex: 1 0 auto;
	overflow-y: scroll;
	height: 0px;
}

.tabbed {
	display: flex;
	flex-flow: column nowrap;
}

.tabbed-header {
	flex: 0 0 30px;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

	.tabbed-header > a {
		flex: 1 0 auto;
		line-height: 25px;
		text-align: center;
		margin-top: 5px;
	}

		.tabbed-header > a.active {
			line-height: 30px;
			margin-top: 0;
		}

		.tabbed-header > a:hover {
			line-height: 30px;
			margin-top: 0;
		}

.tabbed-contents {
	flex: 1 0 auto;
	display: flex;
	flex-flow: column nowrap;
}

.tabbed-tab {
	flex: 1;
	position: relative;
}

.tabbed > div:not(.tabbed-header) {
	border-left: solid 1px lightgray;
}

.tabbed:nth-child(first) div {
	border-left: none;
}

.tabbed-header {
}

	.tabbed-header > a {
		color: black;
		background-color: lightcyan;
		text-decoration: none;
		border-top-right-radius: 5px;
		border-top-left-radius: 5px;
		border: solid 1px lightgrey;
		border-collapse: collapse;
	}

		.tabbed-header > a.active {
			border: solid 1px grey;
			background-color: white;
			border-bottom: none;
		}

		.tabbed-header > a:hover:not(.active) {
			text-shadow: 0 0 1px darkgrey;
		}

/* Contact details popup (Kendo Window, wwwroot/js/contactDetails.js + Views/DomainContact/_Details.cshtml) */
.contact-details { font-size: 13px; color: #222; }
.contact-details-missing { padding: 20px 0; }
.contact-details-head { margin-bottom: 10px; }
.contact-details-email { font-size: 16px; font-weight: bold; margin-right: 10px; }
.contact-details-person, .contact-details-muted { color: #777; }
.contact-details-subhead { margin: 14px 0 6px 0; }
.contact-details-table { width: 100%; border-collapse: collapse; }
.contact-details-table th, .contact-details-table td { text-align: left; vertical-align: top; padding: 3px 8px 3px 0; border-bottom: 1px solid #eee; }
.contact-details-table > tbody > tr > th, .contact-details-table > tr > th { width: 150px; color: #555; font-weight: normal; white-space: nowrap; }
.contact-details-remarks { word-break: break-word; white-space: pre-wrap; }
.contact-details-relation { display: inline-block; padding: 1px 8px; border-radius: 3px; font-weight: bold; color: #fff; margin-right: 6px; }
.contact-details-relation-own { background: #3c8f40; }
.contact-details-relation-free { background: #888; }
.contact-details-relation-other { background: #d9822b; }
.contact-details-relation-domain { font-size: 15px; font-weight: bold; margin-right: 6px; }
.contact-details-sources { max-height: 40vh; overflow-y: auto; border: 1px solid #ddd; }
.contact-details-sources-table thead th { position: sticky; top: 0; background: #f5f5f5; width: auto; color: #333; font-weight: bold; padding: 4px 8px; }
.contact-details-sources-table td { padding: 3px 8px; }
.contact-details-url { word-break: break-all; }
.contact-details-snippet { word-break: break-word; color: #444; }
.contact-details-snippet mark { background: #ffe58a; padding: 0 1px; }
.contact-details-link { cursor: pointer; }
.contact-details-recrawl { margin: 4px 0 8px 0; }
.contact-details-recrawl-warn { padding: 4px 8px; background: #fff4e0; border-left: 3px solid #d9822b; color: #8a4b08; }
.contact-details-pattern-note { margin: 0 0 6px 0; font-size: 12px; }
.contact-details-pattern-tag { color: #8a4b08; font-size: 11px; white-space: nowrap; }
.contact-details-recurrence { display: inline-block; padding: 1px 8px; border-radius: 3px; background: #eee; margin-right: 6px; }
.contact-details-recurrence-many { background: #c0392b; color: #fff; font-weight: bold; }
