body {
	margin: 0;
	padding: 0;
}

/* 1. Global fix */
*, *::before, *::after {
	box-sizing: border-box;
}

/* 2. Ensure root doesn't scroll */
html, body {
	overflow-x: hidden;
	max-width: 100%;
}

/* 3. Fix your scroll container */
div.table-wrapper div.scrollable {
	overflow-x: auto;
	overflow-y: visible;
	max-width: 100%;
}

body.auth-checker section.split--flexible{
text-align: center;
}
body.auth-checker #search_control{
	margin: 2em auto 0;
	display: block;
	max-width: 540px;
	background-color:#fff;
  	border:1px solid #cfcfcf;
  	border-radius:12px;
  	-webkit-box-shadow:0 14px 34px rgba(45,45,45,.08);
  	box-shadow:0 14px 34px rgba(45,45,45,.08);
	padding: 20px;
}
body.auth-checker .form__input, .form__select{
	padding: 15px;
}
body.auth-checker #search_control p.title{
	margin-bottom: 20px;
	width: 100%;
	text-align: left;
	padding-bottom: 20px;
	border-bottom: 1px solid #cfcfcf;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0iIzcxODljNSIgZD0iTTAgNTYuOTNoMTQuODA2bDE1LjQxIDEzLjg1OGgxLjQ0Nkw4OS4yMDkgMTlIMTAwdjIuMTg4TDMzLjgxMyA4MWgtNy43MzR6Ii8+PC9zdmc+");
	background-position: 0 3px;
	background-repeat: no-repeat;
	background-size: 22px;
	line-height: 1.6;
	padding-left: 2em;
}
body.auth-checker section.split--flexible p{
	margin-right: 0;
}
section.auth-results{
	margin: 40px auto 0 auto;
	display: flex;
	width: 98%;
	max-width: 1200px;
}
#auth-results {
	scroll-margin-top: 100px;
}

#left {
	width: 500px;
	float: left;
}

#left a:link {
	color: #698FF7;
}

#left a:visited {
	color: #698FF7;
}

#left a:hover {
	color: #666;
}

#right {
	width: 325px;
	float: right;
	background-color: #fff;
	text-align: left;
	color: #333;
	margin-top: 5px;
}

#right a:link {
	color: #900;
}

#right a:visited {
	color: #9C0000;
}

#right a:hover {
	color: #666;
}

#container {
	width: 900px;
	/* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 auto;
	/* the auto margins (in conjunction with a width) center the page */
	text-align: left;
	/* this overrides the text-align: center on the body element. */
	background-color: #FFF;
	position: relative;
}

h1 {
	font-size: 30px;
	line-height: 0px;
	color: #9C0000;
	margin-bottom: 20px;
}

h2 {
	font-size: 25px;
	letter-spacing: -1px;
	color: #333;
}

h3 {
	font-size: 18px;
	letter-spacing: -1px;
	color: #333;
	font-family: Helvetica, Arial;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #DE3429;
	text-align: justify;
	line-height: 2em;
}

h5 {
	font-size: 14px;
}

h6 {
	font-size: 12px;
}

form {
	padding: 0px 0;
	margin: 0;
}

form p {
	padding: 0;
	margin: 0 0 10px 0;
}

label {
	float: left;
	width: 80px;
	padding-right: 1px;
}

#name,
#email,
#subject {
	width: 400px;
	background-color: ebebeb;
}

#message {
	width: 400px;
	background-color: ebebeb;
}

input.button {
	padding: 5px 20px;
	font: bold 1em arial, sans-serif;
	cursor: pointer;
	color: #efefef;
	background-color: #6A8FF6;
	border-width: 1px;
	border-style: solid;
	border: #276c5f 1px solid;
}

a img {
	border: none;
}

.error {
	color: #C30;
	font-weight: bold;
}

.input {
	color: #353431;
	background: #ebeae7;
	border: 1px solid #d3d3d3;
	width: 400px;
	background-color: #ebebeb;
}

.submit_button {
	padding: 5px 20px;
	font: bold 1.1em arial, sans-serif;
	cursor: pointer;
	color: #000;
	background-color: #f1f0ee;
	border-width: 1px;
	border-style: solid;
	border: #4e4e4e 2px solid;
	float: left;
	margin: 20px;
}

.clear {
	clear: both;
}

@media screen and (max-width:800px) {
	#container {
		width:100%;
		overflow-x: hidden;
		background-color: transparent;
		background: transparent;
	}
	
	body.auth-checker section.split--flexible p, body.auth-checker p.cta__text{
		margin-right: 0;
		width: 100%;
	}

	p {
		font-size:16px;
		line-height: 180%;
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
	}

	#right {
		display:none;
	}

	#left {
		width:95%;
		margin: 0 2.5%;
	}

	#left h2, #left p {
		text-align: center;
	}
}

/* Responsive Tables */
table th {
	font-weight: bold;
}

table td, table th {
	padding: 9px 10px;
	text-align: left;
}

@media only screen and (max-width: 767px) {
	table.responsive {
		margin-bottom: 0;
	}

	.pinned {
		position: absolute;
		left: 0;
		top: 0;
		background: #fff;
		width: 35%;
		overflow: hidden;
		overflow-x: scroll;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}

	.pinned table {
		border-right: none;
		border-left: none;
		width: 100%;
	}

	.pinned table th, .pinned table td {
		white-space: nowrap;
	}

	.pinned td:last-child {
		border-bottom: 0;
	}

	div.table-wrapper {
		position: relative;
		overflow: hidden;
		border-right: 1px solid #ccc;
		float:left;
	}

	div.table-wrapper div.scrollable {
		margin-left: 35%;
	}

	div.table-wrapper div.scrollable {
		overflow: scroll;
		overflow-y: hidden;
	}

	table.responsive td, table.responsive th {
		position: relative;
		white-space: nowrap;
		overflow: hidden;
	}

}

/* Checker */
.right {
	float: right;
}

#search_control .input-holder {
	display: block;
	margin-bottom: 4px;
	overflow: auto;
}
#search_control label {
	float: left;
	width: 250px;
	padding: 6px;
}

#search_control .input-holder input,
#search_control .input-holder select {
	float: left;
	width: 243px;
	padding: 5px 4px;
	background: #ffffff;
	border: 1px solid #B4ABAB;
	border-radius: 3px;
	background: linear-gradient(to bottom,  #ffffff 1%,#F5F5F5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#F5F5F5',GradientType=0 );
}

#search_control .input-holder input:focus,
#search_control .input-holder select:focus {
	background: #ffffff;
	background: linear-gradient(to top,  #ffffff 1%,#F5F5F5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F5F5F5', endColorstr='#ffffff',GradientType=0 );
}

#errorMessage {
	display: none;
	float: left;
	padding: 10px 6px;
	color: #F00;
	font-size: 90%;
	font-weight: bold;
}

.suspended_row, .suspended_row td{
	border-bottom: 1px solid #f00 !important;
	color: #f00 !important;
}

.suspended_row .company {
	color: #f00 !important;
}

.expired_row, .expired_row td {
	border-bottom: 1px solid #999 !important;
	color: #999 !important;
}

.expired_row .company {
	color: #999 !important;
}

table#search_results {
	font-size: 12px;
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}
.no-results-message{
	color: #F00;
	text-align: center;
	font-weight: bold;
}

table#search_results td,
table#search_results th {
	padding: 15px 20px;
	background: #fff;
	border-bottom: 1px solid #ccc;
	font-size: 100%;
	text-align: left;
}

table#search_results th {
	border-top: 1px solid #ccc;
	background: #333;
	color: #fff;
	font-weight: bold;
	white-space: nowrap;
}

table#search_results tr:hover td {
	background: #fff;
}

table#search_results th a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

table#search_results th a span {
	margin-left: 4px;
	visibility: hidden;
}

table#search_results th a:hover span {
	visibility: visible;
}

#pagination {
	float: left;
	width: 100%;
	height: 40px;
}

#pagination ul {
	float: left;
	display: block;
	width: 100%;
	height: 100%;
}

#pagination ul li {
	display: inline;
	zoom: 1;
	list-style: none;
}

@media (max-width:500px) {
	#container {
		width: 100%;
		max-width: 500px;
	}

	.right {
		display:none !important;
	}

	#search_control .input-holder input,
	#search_control .input-holder select {
		width: 75%;
		max-width: 500px;
		margin-left: 10%;
		margin-right: 10%;
		padding: 10px;
	}

	#search_control label {
		width: 75%;
		max-width: 500px;
		margin-left: 10%;
		margin-right: 10%;
		padding: 10px;
	}
	#search_control input{
		width: 85%;
		padding: 15px;
	}
	#errorMessage{
		text-align: center;
		width:100%;
		padding: 20px 0;
	}
	table#search_results {
		width: 100%;
		max-width: 350px;
		margin-left: 0px!important;
	}

	table#search_results td,
	table#search_results th {
		padding: 20px 15px 20px 15px;
	}

	table#search_results {
		width: 100% !important;
		max-width: 500px !important;
	}
}

/* Moved from index.php */
#searchbox td {
	padding: 0;
}

#searchbox input[type='input'] {
	width: 100%
}

#searchbox input[type='submit'] {
	margin: 0;
	margin-top: 5px;
	margin-right: -10px;
}

@media only screen and (max-width: 414px) {
	#searchbox {
		display: flex;
		flex-direction: column;
	}
}

/* Additional Styles */
#searchbox input[type="input"] {
	margin-top: .65em;
	font-size: 16px;
}

.form__btn {
	float: none;
	margin-top: .5rem !important;
	padding: .45rem .35rem !important;
}

#search_results * {
	font-size: 14px !important;
}
