﻿body {
	/*background-image: url('https://background-tiles.com/overview/black/textures/large/5010.png');*/
	background-color: #454c56;
	color: #212529; /* Used in some AdSense ads as well.. */
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

#top, #divSidrTop {	
    z-index: 2000;
    display: block;
    /*box-shadow: 0 2px 4px rgba(0,0,0,.3);*/
}

#divSidrTop {
	background-color: #383838;
}

#top {	
	margin: 10px 0;
}

#top-logo {
	/*background-image: url('/Images/Logos/wpf_tutorial_logo.png');
	width: 90px;
	height: 90px;*/
	text-align: center;
	float: left;
	color: #fff;	
}

#top-logo .logo {
	font-size: 50px;
	
}

#top-logo #site-title {
	display: block;
	font-size: 22px;
	font-weight: bold;	
}

#top, #top a {
	color: #fff;	
}

#page-top-ad {
	float: right;
	width: 728px;
	min-height: 90px;
}

#page-top-ad iframe {
	background-color: #fff;
}

#page {
	margin: 0 auto;
	width: 1120px;
}

#sidebar {
	float: right;
	width: 300px;	
}

#sidebar .ad {
	margin-bottom: 20px;
}

#content {
	background-color: #fff;
	margin-right: 320px;	
	margin-bottom: 60px;
	/*idth: 100%;*/
	padding: 20px;
	border-radius: 3px;
	word-wrap: break-word;
}

body.simple #content {
	margin-right: 0;
}

body.rtl #content p.localized, 
body.rtl #content li.localized,
body.rtl #content h1.localized,
body.rtl #content h2.localized,
body.rtl #content h3.localized,
body.rtl #content h4.localized,
body.rtl #content h5.localized,
body.rtl #content h6.localized,
body.rtl #content textarea.localization.existing,
body.rtl #content textarea.localization.destination {
	direction: rtl;
	text-align: right;
}

#bottom-navigation {
	margin-bottom: 50px;
}

#lnkToc {
	float: right;
	display: none;
}

#divSidrTop {
	display: none;
	font-size: 28px;
    margin: -20px -20px 0 -20px;
	height: 50px; /* Same as #top */
    padding: 5px;	
}

#toc-link {
	display: none;
}

#top-menu {
	margin: -20px -20px 20px -20px;
	height: 30px;
	white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

#child-toc {
	background-color: #fffcdb;
}

#child-toc ol {	
	padding: 0 0 0 10px;
	
}

#child-toc li, #child-toc li a {
	color: silver;
	font-weight: normal;
}

#child-toc li.header-level3 {
	margin-left: 20px;
}

#child-toc li.header-level4 {
	margin-left: 40px;
}

#child-toc h3 {
	color: gray;
}

#top-menu li {
	background-color: #eee;
	border-right: 1px solid #dcdcdc;		
}

#top-menu li:first-child {
	border-top-left-radius: 3px;	
}

#top-menu li:last-child {
	border-top-right-radius: 3px;
	border-right: none;
}

#top-menu li a {
	display: block;
	border-bottom: 1px solid #dcdcdc;
	height: 30px;
	line-height: 30px;
	padding: 0 5px;
}

#top-menu li, #top-menu li a {	
	color: gray;	
}


#top-menu li a:hover {		
	text-decoration: none;
	color: white;
	background-color: #9ac046;	
	border-bottom: 2px solid #77a431;
}

#top-menu li.current {
	font-weight: bold;
}

#user-bar {
	margin: -20px -20px 20px -20px;
	padding: 5px 10px;
	color: gray;
	border-bottom: 1px solid #eee;
	display: none;
}

nav div.chapter {
	margin: 0px 0px 20px;
	padding: 10px 20px;
	border-radius: 3px;
	/*box-shadow: 0px 1px 3px black;*/
	background-color: #fff;
}

nav div.chapter h3 {
    font-size: 1.1em;
	border-bottom: 1px solid #dcdcdc;    
    margin: -9px -20px 7px -20px;
    padding: 5px 8px;
    color: #9ac046;
    background-color: #eee;	
}

nav div.chapter ul {
	list-style-type: square;
	padding: 0 0 0 20px ;
}

nav div.chapter ul li a {
	color: #68968A;
}

nav div.chapter li.selected a, nav div.chapter li.selected a:visited {
	font-weight: bold !important;
	color: #9ac046 !important;
}

nav div.chapter li.selected li a {
	font-weight: normal !important;
	color: gray !important;
}

nav div.chapter ul li a:visited {
	color: #BEBEBE;
}


#top-ad {
	float: right;
}

#bottom-ad {
	text-align: center;
}



p {
	margin: 1.2em 0;
	padding: 0;
}

.floatstop {
	clear: both;
	font-size: 0px;
	overflow: hidden;
	height: 0;
	float: none;
}

footer {
	
	clear: both;
	color: #ccc;
	text-align: center;	
}

footer ul {
	margin: 10px -20px -20px -20px;		
	background-color: #eee;
}

footer ul li {
	display: inline-block;
	*display: inline; /*IE7*/
	*zoom: 1; /*IE7*/
	margin-right: 10px;
	padding: 5px; 
}

footer ul li a:before {
	content: "\00bb";
	margin-right: 5px;
}

footer ul li a {
}

a.article-navigation {
	text-decoration: none;
	display: block;
	border: 1px solid #eee;
	width: 100%;
	padding: 10px;
	border-radius: .25rem;
}

a.article-navigation:hover, a.article-navigation:hover .title {
	border-color: #829993;
	color: #829993;
}

a.article-navigation .title {
	display: block;
	color: silver;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 10px;
}

a.article-navigation .nav {
	color: #829993;
	font-size: 150%;	
	display: block;
}

a.article-navigation .icon {
	
	vertical-align: middle;
}


a.article-navigation.right {
	text-align: right;
}

a.navigation img {
	vertical-align: middle;
}

article a {
	color: #829993;
}

article a:not(.btn):visited {
	color: #808080;
}

article .alert a.btn {
	color: white !important;
}

article #chapter-title {
	color: silver;
	font-size: 120%;
	font-weight: bold;
}

.separator {
	border-top: 1px dotted silver;
	margin: 0 -25px;
}

#fixed-bar {
    margin: 0;
    padding: 0;
    background-color: rgba(128,128,128,0.7);
	border-top: 1px solid silver;
    z-index: 100;
	width: 100%;
}

#bar-inner {
    margin: 0 auto;
    height: 36px;
    line-height: 36px;
	width: 960px;
}

.go-top, .footer-link {
	font-weight: bold;
	font-size: 180%;
	color: #fff;
	text-decoration: none;
}



pre {
	/*
	border: 1px solid #eee !important;
	padding: 8px;
	background-color: #eeeeee;
	*/
	border-radius: 4px;
	overflow: auto;
	tab-size: 4;
}

code {
	background-color: #eee !important;
}



.demo_area {
	border: 1px solid #eee;
	/*margin: 15px 5px -16px 5px;*/
	padding: 10px;
	border-radius: 4px;
}

img.article {
	display: block;
	/*margin: 0 auto;*/
	margin: 10px auto;
}

img.float {
	float: left;
	margin: 0 10px 10px 0;
}

.image-container {
	text-align: center;
}

article ul {
	list-style-type: square;
	margin: 10px 20px;
}

.start {
	font-weight: bold;
	font-size: 16pt;
}

.button, .button:visited {
	font-size: 28pt;
	padding: 6px 12px;
	text-decoration: none;
	border-radius: 2px;
	margin: 0 10px;
	background-color: #89bc38;
	border: 2px solid #5f8426;
	color: #fff;
	text-align: center;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.buy-button, .buy-button:visited {
	font-size: 18pt;
	padding: 6px 12px;
	text-decoration: none;
	border-radius: 2px;
	margin: 6px 10px;
	background-color: #89bc38;
	border: 1px solid #5f8426;
	color: #fff;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.codebox_bar {
	/*margin: 15px 5px -14px 5px;*/
	text-align: right;
}

.codebox_bar .tab {
	color: #fff !important;
	/*background-color: #0769ad;*/
	background-color: #9ac046;
	padding: 2px 8px;
	margin-right: 10px;
	text-decoration: none;
	font-size: 90%;
}

.codebox_bar .tab.subtle {
	color: #fff !important;
	background-color: #aaaaaa;
}


.popup {
	background-color: #fff;
	border: 2px solid silver;
	width: 600px;	
	display: none;
}

.popup .content {
	margin: 20px;
}

.popup h1 {
	margin: 10px 0 10px 10px;	
}

.popup .content h1 {
	margin: 10px 0;
}

.popup a {
	text-decoration: none;
}

.popup .close-button {
	float: right;
	margin: 0 0 30px 30px;
	display: block;	
	font-size: 1.5em;
	background-color: #666;
	color: #fff;
	padding: 5px 12px;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

.popup .close-button .text {
	display: none;
}

.popup .close-button:hover {
	color: #518DC5;
}

.popdown-container {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;      
   text-align: center;
   display: none;
    
}

.popdown {
	/*background-color: #eee;
	border: 1px solid silver;*/
	border-bottom-width: 0;
	padding: 5px;
	margin: 0 auto;
	cursor: pointer;
	border-radius: 0 !important;
}

.popdown-more-info {
	display: none;
	text-align: left;
}

.popdown-more-info ul {
	margin: 10px 30px;
}

.popdown-close {
	float: right;
}

.dropdown-header {
	font-weight: bold;
	font-size: 100% !important;
	color: black;
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	padding-left: 5px;
}

article a.big {
	font-size: 120%;
}




.sidr {
	display: block;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 999999;
	width: 340px;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #fff;
}

.sidr.right {
	left: auto;
	right: -340px;
	padding: 20px;
}

.column-list {
	width: 100%;
}

.column-list li {
	float: left;
}

h2 {
	font-size: 1.75rem;
	color: #33393e;
}

h3 {
	font-size: 1.40rem;
	color: #586168;
}

h4 {
	font-size: 1.10rem;
	color: #76818b;
	margin-bottom: 0;
}

.rtl {
	direction: rtl;
	text-align: right;
}

button.buynow {
	font-size: 20px;
	padding: 12px 40px;
	text-decoration: none;
	background-color: #ff392b;
	box-shadow: inset 0px 1px 0px 0px #f5978e;
	
	border: 1px solid #d02718;
	color: #fff !important;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 400;
	vertical-align: top;
	display: inline-block;
	margin: 12px auto;
	position: relative;
}

button.buynow.green {
	background-color: #4CAF50;
	box-shadow: inset 0px 1px 0px 0px #8BC34A;
	border: 1px solid #009688;
}

button.buynow.white {
	background-color: #fff;
	box-shadow: inset 0px 1px 0px 0px silver;
	border: 1px solid gray;
	color: #000!important;
}

button.info {
	background-color: gray;
	border: 1px solid #454c56;
	font-size: 20px;
	padding: 12px 40px;
	text-decoration: none;
	box-shadow: inset 0px 1px 0px 0px silver;
	color: #fff !important;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 400;
	vertical-align: top;
	display: inline-block;
	margin: 12px auto;
	position: relative;
}

sup.user-id-info {
	cursor: pointer;
	font-weight: bold;
	font-family: sans-serif;
	color: #8c8c8c;
}

/* To prevent Google AdSense auto-placed ads from creating huge, empty areas in the middle of the page!! */
article .google-auto-placed.ap_container, article .autors-widget, .google-auto-placed {
	clear: none !important;
}