body
{
	padding-bottom: 20px;
	padding-top: 50px;
}

::-webkit-input-placeholder { color: #CCC; font-style: italic; }
::-moz-placeholder { color: #CCC; font-style: italic; }
:-moz-placeholder { color: #CCC; font-style: italic; }
:-ms-input-placeholder { color: #CCC; font-style: italic; }
:placeholder-shown { color: #CCC; font-style: italic; }

a[name]
{
	position: relative;
	top: -65px;
	visibility: hidden;
	z-index: -1;
}

a[name]:target ~ span
{
	color: #31708F;
}

a[name]:target ~ a,
a.to-top:hover
{
	background: #31708F;
	text-decoration: none;
}

div[hidden]
{
	display: none;
}

.form-control[readonly]
{
	cursor: text;
}

textarea
{
	min-height: 10em;
}

.explanation
{
	border-bottom: 1px dotted #777;
	cursor: help;
}

.target
{
	position: relative;
}

a.info-link
{
	background: #428BCA;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
	font-size: 80%;
	padding: 0 3px;
}

a.to-top
{
	background: #666;
	border-radius: 50%;
	color: #FFF;
	display: inline-block;
	font-weight: bold;
	height: 2em;
	font-size: x-small;
	line-height: 1.75em;
	margin-left: 1em;
	text-align: center;
	width: 2em;
	vertical-align: middle;
}

a.to-top:before
{
	content: '\25B2';
}

i.NULL
{
	opacity: 0.5;
}

dd.subject-Alt
{
	overflow: hidden;
	white-space: nowrap;
}

.panel-body h2
{
	margin-top: 0.5ex;
}

.bg-primary .text a
{
	color: #FFF;
	opacity: 0.75;
}

.bg-primary .text a:hover
{
	opacity: 1;
}

.navbar-brand
{
	font-family: Pacifico, cursive;
}

#page-home .jumbotron
{
	background-image: url(../img/bg_home.jpg);
	background-position: center bottom;
	background-size: cover;
}

#page-home h2 .fa
{
	display: block;
}

#page-home h2
{
	text-align: center;
}

#page-contact .jumbotron
{
	background-image: url(../img/bg_contact.jpg);
	background-position: center;
	background-size: cover;
}

#page-contact > .alert
{
	margin-bottom: 0;
}

#password-strength { color: #CCC; font-weight: bold; }
#password-strength.weak { color: #A94442; }
#password-strength.average { color: #8A6D3B; }
#password-strength.strong { color: #3C763D; }

span.list-group-item-heading
{
	display: inline-block;
	font-size: 18px;
	line-height: 1.1;
}

.list-group-item.no-results
{
	border-radius: 4px;
	color: #999;
	font-style: italic;
	text-align: center;
}

.list-group-item.info
{
	background-color: #F5F5F5;
	border-color: #428BCA;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	padding: 19px;
}

.list-group-item.info + .list-group-item
{
	border-top-color: #428BCA;
}

#list-certs time
{
	float: right;
}

.cert-expired time
{
	text-decoration: line-through;
}

#alert-newcert
{
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

#newcert-san-list
{
	border: 1px solid #DDD;
	border-radius: 4px;
	height: 100px;
	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
}

#newcert-san-list .list-group-item
{
	background: transparent;
	border: none;
	white-space: nowrap;
}

#newcert-san-list:empty:before
{
	color: #999;
	content: 'No alternates specified';
	display: block;
	font-style: italic;
	left: 0;
	line-height: 2em;
	margin-top: -1em;
	position: absolute;
	right: 0;
	text-align: center;
	top: 50%;
}

.image-backdrop
{
	background-color: rgba(0,0,0,0.5);
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 520;
}

.image-backdrop img
{
	display: block;
	left: 50%;
	position: absolute;
	top: 50%;
	visibility: hidden;
}

ol.toc > li
{
	font-weight: bold;
}

ol.toc ol
{
	font-weight: normal;
	list-style-type: lower-alpha;
}

#page-api-docs .api-toc
{
	background-color: #F5F5F5;
	border-color: #428BCA;
	padding: 1em 0;
}

.parameter,
.retval
{
	overflow: hidden;
	padding-bottom: 1em;
}

.parameter + .parameter,
.retval + .retval
{
	border-top: 1px solid #CCC;
	padding-top: 1em;
}

.parameter-spec,
.retval-spec
{
	color: #999;
	float: left;
	font-size: 120%;
	min-width: 200px;
	width: 20%;
}

.parameter-spec tt,
.retval-spec tt
{
	color: #000;
	display: block;
}

.parameter-description,
.retval-description
{
	overflow: hidden;
}

@media only screen and (min-width: 992px)
{
	#newcert-san-list
	{
		height: 280px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px)
{
	.navbar-form .form-control
	{
		max-width: 100px;
	}
}

@media only screen and (min-device-pixel-ratio: 1.5)
{
	#page-home .jumbotron
	{
		background-image: url(../img/bg_home@2x.jpg);
	}
	
	#page-contact .jumbotron
	{
		background-image: url(../img/bg_contact@2x.jpg);
	}
}
