/**
 * Dzhuvinov.com Software Shop
 *
 * Global style definitions
 *
 * Yellow theme colour: #ffe400
 * Blue haze highlight: #e1e7ff
 * Fine grey line: #dddddd
 *
 * @author Vladimir Dzhuvinov
 * @version 2017-07-24
 */


/*** General ***/

html, body {
	background: white;
	margin: 0;
	padding: 0;
	font-family: Lato, helvetica, sans-serif;
	font-size: 14px;
	color: #3d3d3d;
	text-align: center; /* IE6 fix */
}

a {
	color: #2f50a9;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a[name] {
	color: #000000;
	text-decoration: none;
}

a[name]:hover {
	text-decoration: underline;
}

h1 {
	color: black;
	font-size: 44px;
}

h2 {
	color: black;
	font-size: 30px;
}

h3 {
	margin-top: 50px;
	color: black;
	font-size: 18px;
}

h4 {
	margin-top: 40px;
	color: black;
	font-size: 14px;
}

p {
	line-height: 180%;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

img.left {
	float: left;
}

img.center {
	margin-left: auto;
	margin-right: auto;
}

img.right {
	float: right;
}

.border-none {
	border: none;
}

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

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

.border-left {
	border-left: 1px solid #dddddd;
}

.border-right {
	border-right: 1px solid #dddddd;
}

li {
	line-height: 180%;
}

pre {
	overflow: auto;
	margin-bottom: 30px;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	background-color: #e1e7ff;
	padding: 10px;
	color: #505050;
	font-size: 11px;
}

blockquote {
	font-style: italic;
	color: #505050;
}

table {
	margin-top: 15px;
	border: 1px solid #dddddd;
	border-collapse: collapse;
}

th, td {
	border: 1px solid #dddddd;
	padding: 2px;
}

th {
	background-color: #e1e7ff;
}

table ul {
	padding-left: 25px;
}

.col {
	display: block;
	float: left;
	width: 30%;
}

.col-3-1 {
	padding-right: 10px;	
}

.col-3-2 {
	padding-left: 10px;
	padding-right: 10px;
}

.col-3-3 {
	padding-left: 10px;
}

.alert {
	background: url("icon-alert-32x32.png") no-repeat 0 5px;
	padding-left: 42px;
}

.button-download {
	width: 150px;
	height: 35px;
	display: block;
	margin: 20px auto;
	background: transparent url("button-download.png") no-repeat;
	padding: 20px 20px 20px 70px;
	color: #3d3d3d;
}

.button-download-label {
	display: block;
	font-weight: bold;
}

.button-download:hover {
	color: #2f50a9;
	text-decoration: none;
	background-image: url("button-download-highlight.png");
}


.button-download-mini {
	width: 120px;
	height: 15px;
	display: block;
	margin: 5px auto;
	background: transparent url("button-download-mini.jpg") no-repeat;
	padding: 20px 15px 20px 50px;
	color: #3d3d3d;
}

.button-download-mini-label {
	display: block;
}

.button-download-mini:hover {
	color: #2f50a9;
	text-decoration: none;
	background-image: url("button-download-mini-highlight.jpg");
}


/*** Top site header ***/

#site-header {
	margin: 0;
	width: 100%;
	height: 35px;
	background: transparent url("site-header.png") top left repeat-x;
	padding: 3px 0 0 0;
}

#site-header a {
	text-decoration: none;
	color: #000000;
}

#site-header a:hover, #site-header a:active {
	color: #ffffff;
}

#site-header-content {
	width: 860px;
	margin: 0 auto;
	padding: 5px 0 5px 0;
	font-size: 11px;
}

#site-header-brand {
	float: left;
	width: 210px;
	text-align: left;
}

#site-header-brand a {
	font-weight: normal;
	font-family: sans-serif;
	font-size: 12px;
	letter-spacing: 2px;
}

#site-header-brand a span {
	font-weight: bold;
}

#site-header-twitter {
	float: right;
	padding-left: 19px;
	min-height: 14px;
	background: url("icon-twitter-14x14.png") no-repeat;
	font-weight: normal;
	font-size: 12px;
}

#site-header-blog {
	float: right;
	margin-left: 14px;
	padding-left: 19px;
	min-height: 14px;
	background: url("icon-blog-14x14.png") no-repeat;
	font-weight: normal;
	font-size: 12px;
}


/*** Two column wrapper - #navbar + #main ***/

#wrap {
	clear: both;
	margin: 10px auto;
	width: 860px;
	padding: 0;
	text-align: left;
}



/*** Left-hand side navigation bar ***/

#navbar {
	float: left;
	position: static;
	margin: 10px 0 0 0;
	width: 200px;
	border-right: 1px solid #e1e7ff;
	padding-right: 0px;
}

#navbar ul {
	list-style: none;
}

#navbar a {
	display: block;
	font-weight: bold;
	text-decoration: none;
}

#navbar a:hover, #navbar a:active {
	text-decoration: none;
	background-color: #e1e7ff;
}

#navbar a.selected {
	color: #000000;
	background-color: #e1e7ff;
}

#navbar .new:after {
	content: url("new.png");
	margin-left: 4px;
}

/* Partial IE6 fix, otherwise redundant */
#navbar a {
	padding-left: 28px;
}


#navbar > ul {
	margin: 0;
	padding: 0;
}

#navbar > ul > li {
	margin-top: 20px;
}

#navbar > ul > li:first-child {
	margin-top: 0;
}

#navbar > ul > li > a {
	/* style to fit 24x24px icon on the left */
	padding-left: 40px;
	background-position: 2px 2px;
	background-repeat: no-repeat;
	min-height: 36px;
	line-height: 36px;
	font-size: 15px;
}

#navbar > ul > li > ul {
	margin-top: 1px;
	padding-left: 35px;
	list-style: outside url("bullet.png");
}

#navbar > ul > li > ul > li {
	margin-top: 1px;
	min-height: 28px;
	line-height: 28px;
}

#navbar > ul > li > ul > li > a {
	padding-left: 2px;
	font-weight: normal;
}

#nav-overview {
	background-image: url("icon-overview-32x32.png");
}

#nav-json2ldap {
	background-image: url("icon-json2ldap-32x32.png");
}

#nav-jsworld {
	background-image: url("icon-jsworld-32x32.png");
}

#nav-jsonrpc {
	background-image: url("icon-jsonrpc2base-32x32.png");
}

#nav-cors {
	background-image: url("icon-cors-32x32.png");
}

#nav-download {
	background-image: url("icon-download-32x32.png");
}

#nav-contact {
	background-image: url("icon-contact-32x32.png");
}



/*** main content column ***/

#main {
	float: right;
	margin: 10px 0 10px 10px;
	width: 625px;
	min-height: 600px;
	padding: 0 0 10px 15px;
}

.masthead {
	margin-bottom: 20px;
	width: 100%;
	height: 240px;
	background: top right transparent no-repeat;
}

.masthead h1 {
	margin-top: 0;
}

.masthead ul {
	padding-left: 20px;
}	

.masthead ul li {
	font-size: 13px;
	margin-bottom: 8px;
}

h1 a {
	color: #000000;
}

#disqus_thread {
	padding-top: 25px;
}


/*** footer ***/

#footer {
	clear: both;
	margin: 80px 0 0 0;
	border-top: 1px solid #dddddd;
	background-color: #e1e7ff;
}

#footer-content {
	width: 625px;
	margin: 0 auto;
	padding: 20px 0 10px 225px;
	text-align: center;
	font-size: 11px;
}

#footer a {
	text-decoration: none;
}

#footer-nav {
	width: 100%;
	margin: 20px 0 40px 0;
	border: none;
}

#footer-nav td {
	width: 20%;
	padding: 0 5px 0 5px;
	vertical-align: top;
	text-align: left;
	border: none;
}

#footer-nav td p {
	margin: 0 0 5px 0;
}

.footer-nav-header {
	font-weight: bold;
}

#footer-brand {
	color: #000000;
	font-size: 18px;
	font-weight: normal;
	font-family: sans-serif;
	letter-spacing: 4px;
}

#footer-ext {
	margin-top: 10px;
}
	
#footer-ext img {
	border: none;
}

#footer-ext a {
	margin-left: 10px;
	margin-right: 10px;
}

