/*
Stylesheet for Nookkin.com

Copyright(c) 2008-16 Lyosha Blinnikov.
All rights reserved.
*/

/* Basic formatting */
body {
	font-family: arial, helvetica, sans-serif;
	font-size: 10pt;
	background-color: #eee;
	background-image: url('../images/background.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-attachment: fixed;
}
img {
	vertical-align: middle;
}

/* Layout */ 
#header {
	width: 980px; 
	margin-left: auto; 
	margin-right: auto;
	margin-top: 20px;
	height: 183px;
	background-image: url('../images/header_bg.png');
	padding-left: 30px;
}
#pagetitle, #pagesubtitle {
	display: none;
}
#content {
	width: 980px; 
	background-image: url('../images/body-ex-bg.png');
	margin-left: auto;
	margin-right: auto;
}
#bodycontainer {
	width: 960px; 
	margin-left: 15px;
	clear: both;
}
#header p {
	display: none;
}
#pagetitle {
	font-size: 20pt;
	font-weight: bold;
}
#pagesubtitle {
	font-size: 12pt;
}
#toptbar {
	margin-left: 15px;
	margin-right: 15px;
	padding-top: 15px;
	text-align: right;
}
#breadcrumb_main {
	padding-left: 215px;
}
#sidebar {
	float: left;
}
#sidebarcontainer {
	float: left; 
	width: 200px;
}
#sidebarcontent {
	padding: 10px 10px 10px 10px;
}
#bodyarea {
	float: left; 
	width: 750px;
}
#bodycontent {
	padding: 10px 10px 10px 10px;
}
#bookmarklinks {
	margin-top: 10px;
	margin-bottom: 20px;
	padding-bottom: 5px;
}
#footercontainer {
	clear: both;
}
#footer {
	height: 60px; 
	background-image: url('../images/footer-bg.png');
} 
#copyrighttext {
	text-align: center;
	padding-top: 8px;
	color: #555555;
}
#bottomlinks{
	text-align: center;
	font-size: 8pt;
}

/* Dropdown menus */
#menubar {
	border-top: 1px #a4a4a4 solid;
	background-color: #bdbfbf;
	margin-left: 15px; 
	margin-right: 15px;
	height: 29px;
	width: 950px;
}
nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	display: inline-table;
}

nav ul a {
	white-space: nowrap;
}

nav ul:after {
	content: "";
	clear: both;
	display: block;
}

nav ul ul {
	visibility: hidden;
	opacity: 1;
	transform: scale(1,0);
	transform-origin: 0 0;
	transition: transform 0.5s, visibility 0.5s;
	-webkit-transform: scale(1,0);
	-webkit-transform-origin: 0 0;
	-webkit-transition: -webkit-transform 0.5s, visibility 0.5s;
	-moz-transform: scale(1,0);
	-moz-transform-origin: 0 0;
	-moz-transition: -moz-transform 0.5s, visibility 0.5s;
	position: absolute;
	top: 100%;
	xbackground-color: #ccc;
	xbox-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.7);
}

nav ul ul ul {
	position: absolute;
	opacity: 1;
	transform: scale(0,1);
	-webkit-transform: scale(0,1);
	-moz-transform: scale(0,1);
	left: 100%;
	top: 0;
}

nav ul ul li {
	float: none;
	position: relative;
}

nav ul li {
	float: left;
}

nav ul li a {
	display: block;
	padding: 0.5em;
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
}

nav ul li a:hover {
	background-color: #aaa;
}

nav ul li:hover {
	background-color: #999;
}

nav ul li:hover > ul {
	visibility: visible;
	transform: scale(1,1);
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
}
nav a {
	padding-left: 0.75em;
	padding-right: 0.75em;
}
ul li a.parentmenu {
	padding-right: 2em; 
}

/* BEGIN crap */ /*
ul.menubar {
	float: left;
	width: auto;
}
ul.menubar li {
	width: 200px;
	float: left;
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
}
ul.menubar li.topmenu, ul.menubar li.topmenu a {
	width: auto;
}
ul.menubar a.topmenu {
	width: auto;
	height: auto;
}
ul.menubar li {
	float: left;
	width: 200px;
}
ul.menubar li ul {
	position: absolute;
	width: 200px;
	left: -999px;
	height: auto;
}
ul.menubar li:hover ul, ul.menubar li.menu_hover ul {
	left: auto;
}
ul.menubar li ul ul {
	margin: 0px 0 0 200px;
}
ul.menubar li:hover ul ul, ul.menubar li.menu_hover ul ul {
	left: -999px;
}
ul.menubar li li:hover ul, ul.menubar li li.menu_hover ul {
	left: auto;
}
li.menusep div div {
	display: none;
} */
/* END crap */

/* Sidebar */ 
div.sidebartitle
{
	font-weight: bold;
	margin-bottom: 0.5em;
}
div.sidebarlnk
{
	margin-top: 0em;
	margin-bottom: 0.5em;
} 
div.sidebarstatic
{
	margin-bottom: 1.8em;
}
div.sidebarstatic .tagcloud, .paragraph
{
	border-left: 1px #bbbbbb solid;
	border-right: 1px #bbbbbb solid;
	padding-left: 6px;
	padding-right: 6px;
	margin-right: 5px;
}
.rightsmall, .author
{
	text-align: right;
	font-size: 8pt;
}
.author { font-style: italic; }


/* Paragraphs and Text Blocks */ 
p
{
	margin-top: 0;
	xline-height: 1.5;
}
.unemphasis
{
	color: #888888;
} 
.center {
	text-align: center;
}


ul.compact
{
	margin: 0;
	padding: 0 0 0 0;
}
ul.compact li
{
	margin-left: 1em;
	margin-right: 0;
	margin-bottom: 0.25em;
	margin-top: 0.25em;
}
ul.swfeatures
{
	margin-top: 0;
	padding: 0;
}
ul.swfeatures li
{
	margin-left: 1em;
	margin-right: 0;
}
ul.large, ol.large
{
	
}
ul.large li, ol.large li
{
	margin-bottom: 1em;
}
ul.portfolio
{
	padding-left: 0;
}
ul.portfolio li
{
	margin-left: 0;
	list-style-type: none;
	margin-bottom: 0.25em;
}

ul.sitemap
{
	
}
ul.sitemap li
{
	font-size: 14pt;
	padding-top: 10px;
	margin-bottom: 10px;
}
ul.sitemap li ul li
{
	font-size: 10pt;
	margin-bottom: 0;
}
li.sitemapsep
{
	list-style-type: none;
}
li b
{
	xcolor: #993333;
}

div.listdiv
{
	margin-left: 10px;
}
div.tc_main
{
	
}
div.tc_sub
{
	margin-left: 1.5em;
}
div.gallery_img
{
	float: left;
	margin-right: 20px;
}
div.gallery_img div.caption
{
	text-align: center;
}
div.imageleft
{
	float: left;
	margin-right: 10px;
}
div.imageright
{
	float: right;
	margin-left: 10px;
}
div.imagecenter
{
	float: left;
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
}
div.imageleft, div.imageright, div.imagecenter, div.image
{
	padding: 5px;
	border: 1px #cccccc solid;
	background-color: white;
}
div.imageleft img, div.imageright img, div.imagecenter img, div.image img
{
	display: block;
	border: 0;
}
div.pageinfo
{
	font-size: 8pt;
	border-left: 1px #cccccc solid;
	padding-left: 10px;
	padding-right: 10px;
}
div.pageinfo span.pageinfo
{
	font-style: italic;
}
div.skiptocontent
{
	float: right;
	font-size: 8pt;
	position: relative;
	top: 152px;
	padding-right: 20px;
}
div.skiptocontent a
{
	color: #777;
}

/* Literature elements */
div.storywrapper p
{ 
	text-indent: 2em;
}

div.lit_footnote_container
{
	border-top: 1px black solid;
}
div.lit_footnote_container p
{
	font-size: 8pt;
	font-style: italic;
}
div.lit_footnote_container p b
{
	font-style: normal;
}

div.multipage_nav
{
	
}


/* Separators */
div.hr
{
	height: 1px;
	background-color: #999999; /* #5C7281;*/
	margin: 0.5em 0 0.5em 0;
} 
div.hr hr
{
	display: none;
}

/* Forms */
form
{
	margin: 0;
	padding: 0;
}
.disabled
{
	color: #999;
}
div.labelcnt
{
	float: left; 
	clear: both; 
	width: 80px;
	margin-top: 0.5em;
}
div.inputcnt, div.inputcnt-large, div.inputcnt-xlarge {
	float: left;
	width: 350px;
	margin-top: 0.5em;
}
div.inputcnt input, div.inputcnt-large input {
	width: 350px;
}
div.inputcnt textarea {
	width: 350px;
}
div.inputcnt-large, div.inputcnt-large input, div.inputcnt-large textarea {
	/* Large: fits full width when floated with label to the left*/
	width: 650px;
}
div.inputcnt-xlarge {
	/* Extra large: fits full width on its own */
	width: 100%;
}
div.inputcnt-xlarge input, div.inputcnt-xlarge textarea {
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
div.formerror
{
	font-weight: bold;
	color: red;
}
label .small
{
	font-size: 8pt;
	display: block;
} 

/* Tiles */
a.tile {
	color: #000;
}
.tile-container {
	x-webkit-perspective: 400px;
}
.tile {
	display: inline-block;
	float: left;
	width: 200px;
	height: 100px;
	margin: 5px;
	
	xfont-family: Segoe UI;
	-webkit-transition: all 0.1s linear;
}
.tile:hover {
	
	text-decoration: none;
	-webkit-transform: translate3d(2px,0px,0px);
}
.tile:active, .title:focus {
	outline: 1px black dotted;
	-webkit-transform: scale3d(0.96,0.96,0.96);
}
.tile div {
	margin: 10px;
}
.tile div.desc {
	font-size: 10pt;
	color: #ccc;
}

/* Comments */
#comments {
	width: 100%;
	xborder-left: 1px #cccccc solid;
	xborder-right: 1px #cccccc solid;
	xpadding-left: 10px;
	xpadding-right: 10px;
	margin-bottom: 10px;
	margin-top: 10px;
}
#comments #commentarea {
	padding-left: 10px;
	padding-right: 10px;
}
#comments h2
{
	margin-bottom: 5px;
	margin-top: 5px;
}
div.commentformarea {
	margin-top: 0.5em;
}
div.commentformarea h3 {
	margin-top: 0px;
}

div.usercomment
{
	border: 1px #ccc solid;
	margin-top: 10px;
	margin-bottom: 20px;
	padding: 5px;
	background-color: #f9f9f9;
	xbox-shadow: 0px 0px 10px #ccc;
}
div.usercomment img
{
	display: block;
	float: left;
	padding: 0.5em;
}
div.usercomment div.namedate_text
{
	float: left;
	padding-left: 0.5em;
	padding-top: 0.5em;
}
div.usercomment div.commentnamedate
{
	padding-top: 0.4em;
	color: #999;
}
div.moderatedcomment {
    xbackground-color: #eee;
}
div.moderatedcomment .usercommenttext, div.moderatedcomment .namedate {
    opacity: 0.5;
}
div.admincomment
{
	background-color: #def; /*#e2e6f4;*/
	border-color: #abc;
}
div.admincomment a
{
	color: #395079;
}
div.previewcomment
{
	background-color: #f9f9e0;
	border-color: #cccc88;
}
div.commentpreviewnotice
{
	font-style: italic;
	font-size: 8pt;
	color: #aaaa99;
	border-top: 1px #cccccc dotted;
	margin-top: 5px;
}
div.moderatedcomment
{
	
}
div.commentoptions
{
	font-style: normal;
	font-size: 8pt;
	border-top: 1px #cccccc dotted;
	margin-top: 5px;
	color: #999;
	padding: 0.5em 0 0.2em 0.5em;
}
div.commentmoderationnotice
{
	font-style: italic;
	font-size: 8pt;
	border-top: 1px #cccccc dotted;
	margin-top: 5px;
}
div.commentlinks
{
	font-size: 8pt;
	text-align: right;
}
div.usercomment div.namedate
{
	font-size: 8pt;
	margin-bottom: 3px;
	border-bottom: 1px #cccccc dotted;
}
.commentnametext
{
	font-weight: bold;
}
.webmastercommentnametext a
{
	color: #DD686B;
}
div.usercomment div.usercommenttext
{
	padding: 0.5em;
}
div.commentinstructions
{
	font-size: 8pt;
}
div.usercommenttext a img
{
	border: 0;
}

.commenterror
{
	border: 2px #ff7273 solid;
	padding: 10px;
	margin: 10px;
	background-color: #ff9393;
	background-image: url('images/boxbackground-light.png');
	background-repeat: no-repeat;
}
.commentthanks
{
	border: 2px #5db853 solid;
	padding: 10px;
	margin: 10px;
	background-color: #88db7f;
	background-image: url('images/boxbackground-light.png');
	background-repeat: no-repeat;
}


/* Information Bar */
div.infobar
{
	background-color: #FFFFe0;
	position: fixed;
	top: 0px; 
	left: 0px; 
	width: 100%; 
	height: auto; 
	line-height: 2;
	border-bottom: 1px #999966 solid;
}
div.infobar div.infobartext
{
	float: left;
	margin-left: 10px;
}
div.infobar div.infobarclose
{
	float: right;
	margin-right: 10px;
}
div.infobar a, div.infobar a:link, div.infobar a:visited
{
	background-color: transparent;
	color: blue;
	text-decoration: underline;
}
div.infobar a:hover, div.infobar a:active, div.infobar a:focus
{
	background-color: transparent;
	color: red;
	text-decoration: underline;
}

/* Google Search box */
#searchbox
{
	display: block;
	width: 140px;
	float: left; 
}


/* Buttons */
input[type="button"], button
{
	background-color: #e0e0e0;
	border: 1px #afafaf solid;
}
input[type="button"]:hover, button:hover
{
	background-color: #e9e9e9;
	border: 1px #dfdfdf solid;
}
input[type="button"]:active, button:active
{
	background-color: #9f9f9f;
	border: 1px #6f6f6f solid;
}


/* Miscellaneous Elements */
div.floatclear
{
	clear: both;
}
.small
{
	font-size: 8pt;
}
br.half
{
	line-height: 0.5; 
}
#xcssd
{
	display: none;
	color: red;
}

/* Mobile-specific items. Please see mobile.css for the mobile stylesheet. */
#mobile_options
{
	text-align: center;
}

/* Links */ 
a, a:link
{
	color: #367;
	xtext-decoration: none;
}
a:visited
{
	color: #24a;
}
a:hover
{
	color: #84a2c0;
	text-decoration: underline;
}
a:active, a:focus
{
	color: #84a2c0;
	background-color: #fefefe;
}
a.image
{
	border: 0;
}
a.image img
{
	border: 0;
}
a.image:link, a.image:hover, a.image:active, a.image:visited, a.image:focus
{
	background-color: transparent;
}
a.popuplink
{
	border-bottom: 1px dashed;
}
a.popuplink:hover
{
	text-decoration: none;
}
a.disabled, a.disabled:link, a.disabled:visited
{
	color: #999;
}
a.disabled:hover, a.disabled:active, a.disabled:focus
{
	color: #ccc;
}

/* Headings */ 
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 2px;
}
h1 a, h2 a, h3 a, h4 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h1 a:active, h2 a:active, h3 a:active, h4 a:active {
	text-decoration: none;
}
h1 {
	margin: 0;
	text-align: center;
	font-size: 18pt;
	margin-bottom: 10px;
}

h2 {
	font-size: 1.6em;
	color: black;
	font-weight: normal;
	text-transform: uppercase;
	border-bottom: 1px #000 solid;
	margin-top: 1em;
	margin-bottom: 0.25em;
}
h2.big {
	font-size: 15pt;
}
h2.small {
	font-size: 12pt;
}

h3 {
	font-size: 1.2em;
	color: black;
	text-transform: uppercase;
}
h3 a, h3 a:link, h3 a:visited {
	xcolor: #336633;
}
h3 a img
{
	border: 0;
}

h4 {
	font-size: 11pt;
	font-weight: bold;
	color: black;
	text-decoration: underline;
}

/* Menu */
ul.menubar ul {
	border-right: 1px #adadaf solid;
	border-left: 1px #adadaf solid;
}
ul.menubar a {
	text-decoration: none;
	border-right: 1px #adafaf solid;
}
ul.menubar ul a
{
	border-right: none;
	border-bottom: 1px #adadaf solid;
}
ul.menubar a:link, ul.menubar a:visited
{
	color: #333333;
}
ul.menubar a:focus, ul.menubar a:active
{
	color: #333333;
	background-color: #c4c5c7;
}
ul.menubar li:hover, ul.menubar a:hover, ul.menubar li.menu_hover, ul.menubar li.menu_hover a:hover
{
	color: #000000;
	text-decoration: none;
}
ul.menubar li.topmenu:hover, ul.menubar li.topmenu.menu_hover
{
	background-color: #babcbf;
}
ul.menubar li.topmenu a:hover, ul.menubar li.topmenu.menu_hover a:hover
{
	background-color: #eeeeee;
}
ul.menubar li.topmenu ul li:hover, ul.menubar li.topmenu ul li a:hover, ul.menubar li.topmenu ul li.menu_hover, ul.menubar li.topmenu ul li.menu_hover a:hover
{
	background-color: #dddee0;
	background-image: none;
}
ul.menubar li ul
{
	background-color: #c4c5c7;
}
a.parentmenu {
	background-image: url('../images/arrow.gif');
	background-position: right;
	background-repeat: no-repeat;
}
li.menusep
{
	height: 4px;
	border-bottom: 1px #adadaf solid;
	background-color: #adadaf;
}
li.menusep div
{
	height: 2px;
	margin-top: 1px;
	background-color: #c4c5c7;
}
li.menusep div div
{
	display: none;
}
li.menusep:hover
{
	background-color: #adadaf !important;
	background-image: none !important;
}
a.parentmenu:hover, a.parentmenu:active, a.parentmenu:focus
{
	background-image: url('../images/arrowh.gif') !important;
	background-color: transparent !important;
}

/* Text */
.warningtext, .errortext
{
	font-weight: bold;
	color: red;
}
.thankstext, .oktext
{
	font-weight: normal;
	color: green;
}
.warningtextlight, .errortextlight
{
	color: red;
}
strong.highlight, em.highlight
{
	font-weight: normal;
	font-style: normal;
	background-color: #ffffbb;
}
.subtle
{
	color: #999999;
}
.small
{
	font-size: 8pt;
}

/* Other block elements */
.box, .notice, .warning, .tip, .info {
	border: 1px solid;
	box-shadow: 0px 0px 6px #ccc;
	xoutline: 1px #ccc solid;
	padding: 10px;
	margin: 10px;
	background-repeat: no-repeat;
}
.box {
	border-color: #666;
}
.notice {
	border-color: #ed2;
	background-color: #fff599;
}
.warning {
	border-color: #d55;
	background-color: #ff9393;
}
.info {
	border-color: #6a6;
	background-color: #88db7f;
}
.tip {
	border-color: #58d;
	background-color: #94bdff;
}
.warning strong, .notice strong, .tip strong {
	font-size: 11pt;
}

pre.code, p.code, div.code, pre.samp, p.samp, div.samp, pre.output, p.output, div.output
{
	display: block;
	margin: 10px;
	padding: 5px;
	overflow-x: auto;
	border: 1px #cccccc solid;
	xbackground-image: url('../images/boxbackground.png');
	background-repeat: no-repeat;
	box-shadow: 0px 0px 6px #ccc;
}
code, samp
{
	
}
code, .code
{
	background-color: #e2e9f6;
}
samp, .samp, .output
{
	background-color: #ecebf6;
}
blockquote, .quote
{
	background-color: #f6f2ef;
	background-repeat: no-repeat;
	box-shadow: 0px 0px 6px #ccc;
}
pre.code code, p.code code, div.code code, pre.samp samp, p.samp samp, div.samp samp, pre.output samp, p.output samp, div.output samp
{
	background-color: transparent;
}
blockquote, p.quote, div.quote, p.output, div.output
{
	margin: 10px;
	padding: 5px;
	border: 1px #cccccc solid;
}

/* Tables */
table
{
	xbackground-color: #eeddaa;
	xborder: 1px #996633 solid;
	width: auto;
	border-collapse: collapse;
}
table tr
{
	
}
table tr td, table tr th
{
	border-bottom: 1px #ddd solid;
	padding: 0.25em 1em;
	xpadding-left: 1em;
	xpadding-right: 1em;
}
table tr th
{
	text-align: left;
	background-color: #fff;
	border: none;
	border-bottom: 1px #333 solid;
	text-transform: uppercase;
}

table.bare
{
	background-color: transparent;
	border: none;
	background-image: none;
	background-repeat: no-repeat;
	width: auto;
	padding: 0;
	margin: 0;
}
table.bare tr th
{
	text-align: left;
}
table.bare tr td
{
	border: none;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}

/* Tiles */
a.tile {
	background-color: #c4c5c7;
	color: #000;
	border: 1px #adafaf solid;
	
	font-size: 14pt;
	font-weight: normal;
	text-decoration: none;
	xtext-transform: lowercase;
	text-align: left;
}
a.tile:hover {
	background-color: #dddee0;
}
a.tile:active, .tile:focus {
	background-color: #999;
}

a.button, a.button:link {
	display: inline-block;
	padding: 0.5em 1.5em;
	margin: 2px;
	background-color: #ccc;
	color: black;
	xfont-size: 12pt;
	text-decoration: none;
	text-align: center;
}
a.button img {
	vertical-align: middle;
	margin-left: -10px;
}
a.button:hover {
	background-color: #ff9600;
}
a.button:active, a.button:focus {
	background-color: #dd6600;
	outline: 1px black dotted;
}
a.button.large {
	font-size: 12pt;
}

/* Special table overrides */
#WzBoDy table
{
	background-color: transparent;
	background-image: none;
}
