body {
  background-color: #ffffff;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  /* font-family: Georgia,Adobe Garamond Pro,Verdana,Arial,Helvetica,sans-serif;
  font-size: 12pt;
   * */
  font-size: 11pt;
}

h2 {
  /* border-color: crimson; */
  border-style: solid;
  border-width: 0 0 1px;
  /* color: crimson; */
  max-width: 1280px;
  margin-left: 6px;
}

code {
  color: rgb(0, 96, 0);
  color: teal;
  font-size: 0.9em;
}

#intro {
  width: 1280px;
  margin-left: 6px;
}

.example_demo {
  position: relative; 
  margin-top: 5px; 
  margin-bottom: 3px;
  padding-top: 4px;
  font-weight: bold;
}

.example_printable_num {
  font-weight: bold; 
  display: inline-block; 
  padding-top: 0px;
}

.example_name {
  display: inline-block; 
  padding-top: 0px;
}

.example_try {
  position: absolute;
  left: 0px;
  top: -25px;
  font-size: 13px;
}

.example_code_outer {
  width: 860px;
  float: left;
  background-color: white;
  margin: 10px 2px
}

.example_code_inner {
  border: 1px solid #999;
}

.example_bug_list {
  text-align: right;
  font-size: 0.8em;
  color: #666;
}

.example_fixes {
  padding: 4px;
  width: 1272px;
  margin-top: 0px;
  background-color: #F0FFE0;
  border: 1px solid lightgreen;
  margin-bottom: 20px;
  margin-left: 8px;
}

.example_container .example_fixes {
  margin-left: 1px;
}
  
.example_container {
  width: 1300px;
  padding-left: 5px;
  border: 1px solid #fafafa;
}

/*
.example_container:nth-child(odd) {
  background-color: #ffd;
}

.example_container:nth-child(even) {
  background-color: #fdd;
}
*/

.example_poc_container {
  position: relative;
  float:left; 
  margin: 10px 15px; 
}

.example_poc_container input {
  width: 315px;
  border: 1px solid #999;
  background-color: #fefefe;
  margin: 0px 4px;
  padding: 2px;
  font-family: Courier,monospace;
}

.example_poc {
  border: 1px solid #999;
}

.example_text {
  float: left;
  width: 860px;
}

.example_fixes div {
  text-decoration: underline;
}

.example_fixes ul {
  margin: 5px;
}


.syntaxhighlighter .toolbar { 
  display: none !important 
}

.tryit {
  background-color:#bd0000;
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  border:1px solid #dcdcdc;
  display:inline-block;
  color: white;
  font-family:Verdana;
  font-size:10px;
  font-weight:bold;
  padding:3px 8px;
  text-decoration:none;
}

.example_try a.tryit {
  line-height: 100%;
}

.tryit:hover {
  /* background-color:#dfdfdf; */
  background-color:#ce0100;
  color: #eee;
}

.tryit:active {
  position:relative;
  top:1px;
}

.tryit-external {
  background:
  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=")
  no-repeat scroll right center transparent;
  padding-right: 0px;
  width: 10px;
  height: 10px;
  display: inline-block;
}

/* Work around Wiki limitations */
.content {
  margin-left: 24px;
}

.content h2 {
  margin-left: 0px;
  /* width: 1285px; */
  max-width: 1300px;
}

/* Styles for main demo page (all application-like demos) */
.demo-main, .demo-source {
  border: 1px solid rgb(102, 102, 102);
  width: 600px;
  height: 300px;
  margin-right: 10px;
}

.demo-source {
  width: 650px;
}

.demo-controls {
  background-color: #f4f4f4;
  border: 1px solid #f0f0f0;
  width: 594px;
  padding: 2px 3px;
  border: 1px solid #999;
  border-bottom: none;
}

#xss-demos .url {
  display: inline-block;
  padding-right: 2px;
  font-family: serif;
  position: relative;
  bottom: -1px;
}

#xss-demos .urlbutton {
  width: 40px;
}

#xss-demos .urlbar {
  width: 495px;
  padding: 3px;

  border: 1px solid #666;
  font-family: monospace;
}


#xss-demos h2 {
  margin-left: 0px;
  border-bottom: none;
}

/* Styles for each demo frame */
#demo2-query {
  border: 1px solid #333;
  padding: 3px;
  margin-top: 20px;
  width: 240px;
}

/* Persistent XSS demo */
#social-demo img {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  margin-top: 5px;
}

#social-demo .date {
  font-size: 10px;
}

#social-demo textarea {
  border: 1px solid #C4C4C4;
  box-shadow: 0 1px 2px #DDDDDD inset;
  padding: 8px 9px;
  background-color: white;
  color: #666;
}

#social-demo .message {
  margin-top: 5px;
  position: relative;
}

#social-demo .shim {
  position: absolute;
  background: url("//ssl.gstatic.com/s2/oz/images/sprites/stream-e001443aa61c5529c1aa133a9c12bb49.png") no-repeat scroll -119px -52px transparent;
  margin-left: -20px;
  top: 15px;
  height: 21px;
  width: 10px;
}

#social-demo #social-header {
  color: #444;
  font-size: 17px;
  text-shadow: 1px 1px #ccc;
  letter-spacing: 1px;
  margin: 10px 0 20px;
}

#social-demo .message-container {
  padding: 10px;
  background-color: #F9F9F9;
  border: 1px solid #C4C4C4;
  border-radius: 5px 5px;
  width: 400px;
  font-size: 12px;
}

#social-demo .message-container b {
  display: block;
  padding-bottom: 3px;
  border-bottom: 1px solid #eee;
}

#social-demo form {
  display: inline;
}

#social-demo input {
  border-radius: 2px 2px 2px 2px;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  height: 27px;
  line-height: 27px;
  margin-right: 16px;
  margin-top: 3px;
  min-width: 54px;
  opacity: 0.7;
  outline: 0 none;
  padding: 0 8px;
  text-align: center;
  text-shadow: 0 1px rgba(0, 0, 0, 0.1);
}

#social-demo .share {
  background: none repeat scroll 0 0 #3D9400;
  border: 1px solid #29691D;
  float: right;
}

#social-demo .clear {
  background: none repeat scroll 0 0 #a00;
  border: 1px solid #600;
  margin-right: 0px;
  margin-top: -1px;
  float: right;
  position: relative;
  bottom: 8px;
  right: 10px;
}

#social-demo .message-container .clear {
  margin-right: 0px;
  margin-top: -1px;
  position: relative;
  bottom: 8px;
  right: 10px;
}

#social-demo .clear {
  position: absolute;
  right: 4px;
  top: 4px;
}


/* DOM XSS demo */
#dom-demo {
  font-family: Helvetica, Verdana, sans-serif;
  color: #333;
  width: 580px;
}

#dom-demo #header {
  background: none repeat scroll 0 0 #F1F1F1;
  border-bottom: 1px solid #E5E5E5;
  position: relative;
  z-index: 40;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: bold;
  padding: 4px 2px;
}

#dom-demo .tab {
  display: inline-block;
  border-width: 2px 2px 0px 2px;
  border-style: solid;
  border-color: #eee;
  background-color: #ddd;
  padding: 3px 30px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  text-shadow: #666 0.1em 0.1em 0.2em;
}

#dom-demo .tab:nth-child(2) {
  background-color: #03af11;
}

#dom-demo .tab:nth-child(3) {
  background-color: #e6182f;
}

#dom-demo .tab:nth-child(4) {
  background-color: #ffc533;
}
#dom-demo .tab.active {
  text-shadow: black 0.1em 0.1em 0.3em;
}

#dom-demo #tabContent {
  border-width: 2px 2px 2px 2px;
  border-style: solid;
  border-color: #ccc;
  width: 568px;
  margin-right: 5px;
  height: 190px;
  padding: 4px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  overflow-y: scroll;
}

#reflected-demo #demo2-query {
  -moz-border-bottom-colors: none;
  -moz-border-image: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: none repeat scroll 0 0 #FFFFFF;
  border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  border-radius: 1px 1px 1px 1px;
  border-right: 1px solid #D9D9D9;
  border-style: solid;
  border-width: 1px;
  height: 27px;
  font: 16px arial,sans-serif;
}

#reflected-demo #demo2-button {
  margin: 16px 8px;
  background-color: #F5F5F5;
  background-image: -moz-linear-gradient(center top , #F5F5F5, #F1F1F1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #444444 !important;
  font-size: 11px;
  -moz-user-select: none;
  border-radius: 2px 2px 2px 2px;
  cursor: default !important;
  display: inline-block;
  font-weight: bold;
  height: 29px;
  line-height: 29px;
  min-width: 54px;
  padding: 0 8px;
  text-align: center;
  text-decoration: none !important;
}

#social-demo #social-header img {
  width: 200px;
  margin: 0px;
  display: inline;
}

#social-demo #social-header div {
  display: inline-block;
  position: relative;
  bottom: 6px;
}

/* Styles for demo source frames */
#multi-header {
  padding-left: 30px;
}

.select-file {
  display: inline-block;
  font-family: courier, fixed;
  padding: 2px 6px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  cursor: pointer;
  margin-right: 1px;
}

.select-file:hover {
  background-color: #f0f0f0;
}

.select-file.selected {
  background-color: #e0e0e0;
}

body#demo-code {
  font-size: 10pt;
}

/* Fix for Chrome scrollbars */
.syntaxhighlighter {
  padding: 3px 0px;
}

#multi-examples .syntaxhighlighter {
  display: none;
}

#multi-examples .selected .syntaxhighlighter {
  display: block;
}

#reflected-demo {
  text-align: center;
  margin: 0 auto;
}

#reflected-demo form {
  margin-top: -16px;
}

#reflected-demo #query {
  -moz-border-bottom-colors: none;
  -moz-border-image: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: none repeat scroll 0 0 #FFFFFF;
  border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  border-radius: 1px 1px 1px 1px;
  border-right: 1px solid #D9D9D9;
  border-style: solid;
  border-width: 1px;
  font: 14px Verdana, Arial, sans-serif;
  padding: 4px;
}

#reflected-demo #button {
  margin: 16px 8px;
  background-color: #F5F5F5;
  background-image: -moz-linear-gradient(center top , #F5F5F5, #F1F1F1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #444444 !important;
  font-size: 11px;
  -moz-user-select: none;
  border-radius: 2px 2px 2px 2px;
  cursor: default !important;
  display: inline-block;
  font-weight: bold;
  height: 29px;
  line-height: 29px;
  min-width: 54px;
  padding: 0 8px;
  text-align: center;
  text-decoration: none !important;
}

#reflected-demo img {
  margin: 8px 0 8px 0;
}

#reflected-demo div {
  margin-top: 14px;
}


